import React, { RefObject } from "react"; import { CornerDownLeft } from "lucide-react"; import { Input } from "@/components/ui/input"; import { Button } from "@/components/ui/button"; interface ChatInputAreaProps { inputRef: RefObject; inputValue: string; setInputValue: (value: string) => void; handleSendMessage: (e?: React.FormEvent) => void; isLoading: boolean; } export const ChatInputArea: React.FC = ({ inputRef, inputValue, setInputValue, handleSendMessage, isLoading }) => { return (
setInputValue(e.target.value)} className="pr-20 py-6 text-base bg-background/50 border border-border/50 focus-visible:ring-1 focus-visible:ring-primary/50 rounded-xl" disabled={isLoading} />
Insight AI may produce inaccurate information. Verify important information.
); };