'use client' import { FC } from 'react' import Box from '@mui/material/Box' import { m } from 'framer-motion' import { useResponsive } from '../../../../hooks/web' import { varContainer } from '../variants' import { MotionViewportProps } from './types' const MotionViewport: FC = ({ children, disableAnimatedMobile = true, ...other }) => { const smDown = useResponsive('down', 'sm') if (smDown && disableAnimatedMobile) { // @ts-ignore return {children} } return ( {children} ) } export default MotionViewport