score:396

Accepted answer

you're probably using the dom mouseevent. try using react.mouseevent<htmlinputelement> instead.

score:7

you can use syntheticevent instead of mouseevent

score:27

in order to use react mouseevent just make sure to add:

import { mouseevent } from 'react';

Related Query

More Query from same tag