Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unable to check that countdown is completed #23

Open
rajkumargaur91 opened this issue Oct 31, 2021 · 1 comment
Open

unable to check that countdown is completed #23

rajkumargaur91 opened this issue Oct 31, 2021 · 1 comment

Comments

@rajkumargaur91
Copy link

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

@Happy-Child
Copy link

@rajkumargaur91 i used so:

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants