1.0.0 • Published 6 years ago
hoverable-react v1.0.0
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
1.0.0
6 years ago