Bada
Bada's Coding

Bada's Coding

How to Deal with an Event Object in an EventHandler in React TypeScript

Bada's photo
Bada
·Aug 16, 2022·

1 min read

In the below example, I did it in two ways.

The first one is using EventHandler type and the second one is using Event type.

 
Share this