import React, { useState, ForwardedRef } from 'react'; interface InputProps { message: string; onSendClick: (message: string) => void; onMicClick: () => void; } const InputFrontend = React.forwardRef( ({ message, onSendClick, onMicClick }, ref: ForwardedRef) => { const [inputValue, setInputValue] = useState(''); const handleInputChange = (e: React.ChangeEvent) => { setInputValue(e.target.value); }; return (
); } ); export default InputFrontend;