UNPKG

@mantine/hooks

Version:

A collection of 50+ hooks for state and UI management

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