import { AnimatePresence, cubicBezier, motion } from 'framer-motion'; interface SendButtonProps { show: boolean; onClick?: VoidFunction; } const customEasingFn = cubicBezier(0.4, 0, 0.2, 1); export function SendButton({ show, onClick }: SendButtonProps) { return ( {show ? ( { event.preventDefault(); onClick?.(); }} >
) : null}
); }