16 lines
323 B
TypeScript
16 lines
323 B
TypeScript
"use client";
|
|
|
|
import { m } from "motion/react";
|
|
|
|
export default function Template({ children }: { children: React.ReactNode }) {
|
|
return (
|
|
<m.div
|
|
initial={{ opacity: 0, y: 8 }}
|
|
animate={{ opacity: 1, y: 0 }}
|
|
transition={{ duration: 0.4, ease: "easeOut" }}
|
|
>
|
|
{children}
|
|
</m.div>
|
|
);
|
|
}
|