brysgo / react-cursor-div

ReactCursorDiv is a really simple component that behaves just like a div, except it follows you mouse cursor.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DEPRECATED

This project doesn't make much sense anymore now that react hooks exist. Try something like a useHover

react-cursor-div

ReactCursorDiv is a really simple component that behaves just like a div, except it follows you mouse cursor. It is useful if you want a simple way to position your tooltips.

See example in demo folder for usage.

About

ReactCursorDiv is a really simple component that behaves just like a div, except it follows you mouse cursor.


Languages

Language:JavaScript 100.0%