Files
road-monitoring-ui/src/app/(modules)/template.tsx

21 lines
443 B
TypeScript

'use client';
import { motion } from 'motion/react';
import React from 'react';
export default function Template({ children }: { children: React.ReactNode }) {
return (
<motion.div
initial={{ opacity: 0, y: 10 }}
animate={{ opacity: 1, y: 0 }}
transition={{
duration: 0.4,
ease: [0.21, 0.47, 0.32, 0.98],
}}
className="flex-1 flex flex-col"
>
{children}
</motion.div>
);
}