score:3

Accepted answer
const handleInputValue = (e: React.ChangeEvent<HTMLInputElement>) => {
    setInputValue(e.target.value);
};

Related Query

More Query from same tag