UNPKG

@figliolia/react-hooks

Version:

A small collection of simple React Hooks you're probably rewriting on a regular basis

4 lines (3 loc) 205 B
import { Debouncer } from "../Generics/Debouncer"; import type { Callback } from "../Types"; export declare const useDebouncer: <T extends Callback<any[], any>>(callback: T, wait: number) => Debouncer<T>;