How can I get mouse events for hover on web app

I am building a web application using Expo on React Native.

I need to implement “hover” - when the user moves the mouse cursor above a component, I need to change the mouse cursor and also display a tooltip with the action that will be taken if the user presses that component.

Been googling for long, and found no solution.

Can anyone here help?


you might find this library to be helpful!

here’s an example of it in action:

1 Like

Thanks - it works!