UNPKG

@storm-stack/hooks

Version:

A collection of React hooks used by Storm Software in various client libraries and applications.

8 lines (7 loc) 271 B
/** * A hook that returns a boolean indicating if the user is idle. * * @param ms - The number of milliseconds to wait before considering the user as idle * @returns A boolean indicating if the user is idle */ export declare const useIdle: (ms?: number) => boolean;