UNPKG

@mantine/hooks

Version:

A collection of 50+ hooks for state and UI management

7 lines (6 loc) 231 B
export declare function useDebouncedCallback<T extends (...args: any[]) => any>(callback: T, options: number | { delay: number; flushOnUnmount?: boolean; }): ((...args: Parameters<T>) => void) & { flush: () => void; };