import React from "react"; import { Button } from "@chakra-ui/react"; import clientChatStore from "../../../stores/ClientChatStore"; import { CirclePause, Send } from "lucide-react"; import { motion } from "framer-motion"; interface SendButtonProps { isLoading: boolean; isDisabled: boolean; onClick: (e: React.FormEvent) => void; onStop?: () => void; } const SendButton: React.FC = ({ onClick }) => { const isDisabled = clientChatStore.input.trim().length === 0 && !clientChatStore.isLoading; return ( ); }; const MySpinner = ({ onClick }) => ( ); export default SendButton;