UNPKG

downshift

Version:

🏎 A set of primitives to build simple, flexible, WAI-ARIA compliant React autocomplete, combobox or select dropdown components.

9 lines (8 loc) 241 B
/** * Simple debounce implementation. Will call the given * function once after the time given has passed since * it was last called. */ export declare function debounce(fn: Function, time: number): Function & { cancel: Function; };