refactor: separation of shared components

This commit is contained in:
2025-08-06 21:43:43 +04:00
parent 6efb75ab30
commit e43a8b0865
28 changed files with 49 additions and 48 deletions

View File

@ -0,0 +1,12 @@
"use client";
import { ReactNode } from "react";
import { motion, MotionProps } from "framer-motion";
interface MotionWrapperProps extends MotionProps {
children: ReactNode;
}
export function MotionWrapper({ children, ...props }: MotionWrapperProps) {
return <motion.div {...props}>{children}</motion.div>;
}