interface NotesFormProps {
    notes: string;
    setNotes: React.Dispatch<React.SetStateAction<string>>;
}
const NotesForm: React.FC<NotesFormProps> = ({ notes, setNotes }) => {
    const handleInputNotes = (e: any) => {
        setNotes(e.target.value);
    };
    return (
        <div className="mt-8 px-4">
            <label htmlFor="notes"> Customer Notes</label>
            <textarea id="notes" name="notes" value={notes} onChange={handleInputNotes} className="form-textarea min-h-[130px]" placeholder="Customer Notes...."></textarea>
        </div>
    );
};
export default NotesForm;
