react-use-count-down
react-use-count-down copied to clipboard
unable to check that countdown is completed
how to find that timer is completed. I havent found any way.Please suggest How can i get that countdown is completed
@rajkumargaur91 i used so:
const [timeLeft, { start, reset }] = useCountDown(..., ....);
const isActive = timeLeft > 0;