TypeScript React Typ wejścia
onChange={(
ev: React.ChangeEvent<HTMLInputElement>,
): void => setInputValue(ev.target.value)}
Frantic Falcon
onChange={(
ev: React.ChangeEvent<HTMLInputElement>,
): void => setInputValue(ev.target.value)}
onChange={(
ev: React.ChangeEvent<HTMLTextAreaElement>,
): void => console.log(e.target.value)}