Hover

Useful to render children conditionally based on hover state.

Props

PropTypeDescription
childrenFunction (isHovered: boolean) => ReactNodeA function to be called when on enter/leave

This component supports all common props.