everweij / react-laag

Hooks to build things like tooltips, dropdown menu's and popovers in React
https://www.react-laag.com
MIT License
907 stars 47 forks source link

Allow no parameters in useHover() #7

Closed rijk closed 4 years ago

rijk commented 4 years ago

Small one: it would be nice if useHover() wouldn’t trigger an error.

everweij commented 4 years ago

I agree! That's an easy one ;) I will add this in the next release.

everweij commented 4 years ago

This should be fixed in v1.4.0 :)