react-hook icon indicating copy to clipboard operation
react-hook copied to clipboard

useMouse()

Open susuusus opened this issue 3 years ago • 1 comments

OnMove/onTouchMove function under mouse.tsx got error for element variable with Type 'T|RefObject <T>' is not assignable to type T. n the line of 'dispatch({type: 'mousemove', event, element}))'

Please help to resolve the issue. I just get the src code and work on top of it without using npm compiled package.

susuusus avatar Apr 07 '22 10:04 susuusus

Sorry, I don't provide support

jaredLunde avatar Apr 07 '22 13:04 jaredLunde