hoverable-react
v1.0.0
Published
on hover react component wrapper
Downloads
4
Readme
Hoverable react component
On hover component that uses render props to show correct component
Usage
import Hoverable from 'hoverable-react'
<Hoverable
render={hovered =>
hovered ? <div>Im hovered</div> : <div>Im not hovered</div>
}
/>
Props:
className - applied to wrapper div
styles - applied to wrapper div
Authors
- Luke Robertson - DesignAlchemy
- Chris Golding - cpg94
License
Public