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

useTimer API changes #30

Merged
merged 4 commits into from
Mar 2, 2024
Merged

useTimer API changes #30

merged 4 commits into from
Mar 2, 2024

Conversation

dlcastillop
Copy link
Owner

Before

const timer = useTimer(0, 0, 10, 0, false, "-", () => console.log("Finish"))

Now

const timer = useTimer("00:00:10:00" {
    startPaused: false,
    separator: "-",
    onFinish: () => console.log("Finish")
})

@dlcastillop dlcastillop linked an issue Mar 2, 2024 that may be closed by this pull request
@dlcastillop dlcastillop merged commit efa7d04 into main Mar 2, 2024
@dlcastillop dlcastillop deleted the feature/26 branch March 10, 2024 13:40
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

Successfully merging this pull request may close these issues.

useTimer API changes for v2.0
1 participant