UNPKG

@mantine/hooks

Version:

A collection of 50+ hooks for state and UI management

6 lines (5 loc) 219 B
export interface UseHoverReturnValue<T extends HTMLElement = any> { hovered: boolean; ref: React.RefCallback<T | null>; } export declare function useHover<T extends HTMLElement = any>(): UseHoverReturnValue<T>;