useHover
Detects if given element is hovered.
Instalación
npm i @raddix/use-hover
Uso
API
Parameters
Name | Description | Required | Type |
---|---|---|---|
ref | DOM element being referenced. | Yes | RefObject |
Detects if given element is hovered.
npm i @raddix/use-hover
Name | Description | Required | Type |
---|---|---|---|
ref | DOM element being referenced. | Yes | RefObject |