mirror of
https://github.com/Tria-plc/emaui.git
synced 2026-08-27 16:40:57 +00:00
6 lines
277 B
TypeScript
6 lines
277 B
TypeScript
export interface UseDebouncedValueOptions {
|
|
leading?: boolean;
|
|
}
|
|
export type UseDebouncedValueReturnValue<T> = [T, () => void];
|
|
export declare function useDebouncedValue<T = any>(value: T, wait: number, options?: UseDebouncedValueOptions): UseDebouncedValueReturnValue<T>;
|