Closed ehdlg closed 9 months ago
@ehdlg
Make it count to 0 and from 0.
Make it pausable.
@ehdlg Create the necessary tests for this feature please. Use react testing library.
Update second commit name to match the new hook name.
Before merging, we require a solution to mock setInterval and update the counter value in the DOM within the unit test for this component
What type of PR is this? (Check all applicable)
Description
Added a Counter component, useGetCounter hook and a story to test in Storybook
Replace this text with a clear and concise description of what you've done.
Related Issues
Please link related issues by removing lines that are not applicable.
Checklist
Before submitting this pull request, please make sure you have done the following:
Code Quality
Updated documentation?
Added tests for your changes?
UI Changes
Additional Information
Replace this text with any additional information.