import { useHover } from 'hooks'
Provides state and event handlers for listening to hover events.
import { useHover } from 'hooks' export default function Example() { const [hover, hoverProps] = useHover() return ( <div {...hoverProps}> Hover me! {hover ? 'Hovered' : 'Not hovered'} </div> ) }