import { m, MotionProps } from 'framer-motion'; // @mui import Box, { BoxProps } from '@mui/material/Box'; // import { varContainer } from './variants'; // ---------------------------------------------------------------------- type IProps = BoxProps & MotionProps; export interface Props extends IProps { animate?: boolean; action?: boolean; } export default function MotionContainer({ animate, action = false, children, ...other }: Props) { if (action) { return ( {children} ); } return ( {children} ); }