import { AnimatePresence, cubicBezier, motion } from 'framer-motion'; interface SendButtonProps { show: boolean; isStreaming?: boolean; disabled?: boolean; onClick?: (event: React.MouseEvent) => void; onImagesSelected?: (images: File[]) => void; } const customEasingFn = cubicBezier(0.4, 0, 0.2, 1); export const SendButton = ({ show, isStreaming, disabled, onClick }: SendButtonProps) => { return ( {show ? ( { event.preventDefault(); if (!disabled) { onClick?.(event); } }} >
{!isStreaming ?
:
}
) : null}
); };