import React from 'react'; import GlassButton from './ui/GlassButton'; interface MessageInputProps { value: string; onChange: (value: string) => void; onSend: () => void; disabled?: boolean; } export default function MessageInput({ value, onChange, onSend, disabled }: MessageInputProps) { const handleSubmit = (e: React.FormEvent) => { e.preventDefault(); onSend(); }; return (
onChange(e.target.value)} placeholder="Type your message..." /> Send
); }