UNPKG

@mantine/hooks

Version:

A collection of 50+ hooks for state and UI management

2 lines (1 loc) 186 B
export declare function useClickOutside<T extends HTMLElement = any>(handler: () => void, events?: string[] | null, nodes?: (HTMLElement | null)[]): import("react").RefObject<T | null>;