import { AnimatePresence } from 'framer-motion'; import { ComponentProps, FunctionComponent } from 'react'; import { MotionButton } from '../../../../common/components/molecules/MotionButton/MotionButton'; import { ctw } from '../../../../common/utils/ctw/ctw'; import { ICallToActionProps } from './interfaces'; const motionButtonProps = { exit: { opacity: 0, transition: { duration: 0.2 } }, initial: { y: 10, opacity: 0 }, transition: { type: 'spring', bounce: 0.3 }, animate: { y: 0, opacity: 1, transition: { duration: 0.2 } }, } satisfies ComponentProps; export const CallToAction: FunctionComponent = ({ value }) => { return ( {value?.text} ); };