UNPKG

react-timer-hook

Version:

React timer hook is a custom react hook built to handle timers(countdown), stopwatch and time logic/state in your react component.

2 lines (1 loc) 87 B
export default function useInterval(callback: () => void, delay: number | null): void;