1.0.0 • Published 8 years ago
patchkit-hover-shifter v1.0.0
HoverShifter
Renders the first child element if the mouse is not over the component.
Renders the second child element if the mouse is hovering.
import HoverShifter from 'patchkit-hover-shifter'
<HoverShifter>
<div>Unhovered</div>
<div>Hovered</div>
</HoverShifter>
1.0.0
8 years ago