UNPKG

@mantine/hooks

Version:

A collection of 50+ hooks for state and UI management

9 lines (8 loc) 262 B
export interface UseIdleOptions { events?: (keyof DocumentEventMap)[]; initialState?: boolean; } export declare function useIdle(timeout: number, options?: UseIdleOptions): boolean; export declare namespace useIdle { type Options = UseIdleOptions; }