const onChange = (e: React.FormEvent<HTMLInputElement>) => { const newValue = e.currentTarget.value; }