React Typescript cheatsheet: form elements and onChange event types
Quick cheat sheet with all the typings used for React forms. All the form elements events are the type React.ChangeEvent<T>
, where T is the HTML Element type. Here’s an example of all the different HTML types