UNPKG

@mantine/hooks

Version:

A collection of 50+ hooks for state and UI management

8 lines (7 loc) 198 B
export declare function useMouse<T extends HTMLElement = any>(options?: { resetOnExit?: boolean; }): { x: number; y: number; ref: import("react").MutableRefObject<T | undefined>; };