Files
wdi-dashboard/node_modules/@chakra-ui/react-use-timeout/dist/index.d.ts

10 lines
278 B
TypeScript
Raw Normal View History

2024-08-16 15:06:52 +05:30
/**
* React hook that provides a declarative `setTimeout`
*
* @param callback the callback to run after specified delay
* @param delay the delay (in ms)
*/
declare function useTimeout(callback: (...args: any[]) => void, delay: number | null): void;
export { useTimeout };