UNPKG

@mantine/hooks

Version:

A collection of 50+ hooks for state and UI management

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