import { m, MotionProps } from 'framer-motion'; // @mui import { Box, BoxProps } from '@mui/material'; // import { varFade } from './variants'; // ---------------------------------------------------------------------- type Props = BoxProps & MotionProps; interface TextAnimateProps extends Props { text: string; } export default function TextAnimate({ text, variants, sx, ...other }: TextAnimateProps) { return ( {text.split('').map((letter, index) => ( {letter} ))} ); }