Files
wdi-dashboard/node_modules/@chakra-ui/hooks/dist/use-timeout.d.ts
2024-08-16 15:06:52 +05:30

10 lines
278 B
TypeScript

/**
* 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 };