import { motion, useInView } from 'framer-motion'; import * as React from 'react'; export function LettersPullUp({ text }: { text: string }) { const splittedText = text.split(''); const pullupVariant = { initial: { y: 10, opacity: 0 }, animate: (i: number) => ({ y: 0, opacity: 1, transition: { delay: i * 0.05, }, }), }; const ref = React.useRef(null); const isInView = useInView(ref, { once: true }); return (