react-use-count-down icon indicating copy to clipboard operation
react-use-count-down copied to clipboard

unable to check that countdown is completed

Open rajkumargaur91 opened this issue 2 years ago • 1 comments

how to find that timer is completed. I havent found any way.Please suggest How can i get that countdown is completed

rajkumargaur91 avatar Oct 31 '21 08:10 rajkumargaur91

@rajkumargaur91 i used so:

const [timeLeft, { start, reset }] = useCountDown(..., ....);
const isActive = timeLeft > 0;

Happy-Child avatar Nov 24 '21 13:11 Happy-Child