UNPKG

@devlander/hooks

Version:
9 lines (8 loc) 280 B
/** * Custom hook to debounce a value. * * @param value - The value to debounce. * @param delay - The delay in milliseconds to wait before updating the debounced value. * @returns The debounced value. */ export declare const useDebounce: (value: any, delay: number) => any;