@hakuna-matata-ui/hooks
Version:
React hooks for Chakra components
8 lines • 302 B
TypeScript
/**
* React hook that provides a declarative `setTimeout`
*
* @param callback the callback to run after specified delay
* @param delay the delay (in ms)
*/
export declare function useTimeout(callback: (...args: any[]) => void, delay: number | null): void;
//# sourceMappingURL=use-timeout.d.ts.map