Releases: ndresx/react-countdown
Releases · ndresx/react-countdown
v2.3.6
v2.3.5
v2.3.4
v2.3.3
Changelog
- Updates
onComplete
callback to consistently trigger, even when the countdown is completed on start. #169
Bugfixes
- Fixes
date
prop typing (#212):
TheCountdownProps
interfacedate
prop was initially set to optional due to an older component that is still being supported in order to follow Semver (forreact-countdown@2
). This change will make it a required one. However, since this legacy version was neither utilizing TypeScript nor PropTypes, it's safe to assume that this won't break anything given that the actual countdown component only works by providing this prop while it's also documented this way.
v2.3.2
v2.3.1
v2.3.0
Changelog
- Added feature to
stop
the countdown through the API - Added new feature props:
onStop
callbackovertime
which allows the countdown to become negative (resolves #94)
- Extended the API with the following functions:
stop()
isStarted()
isStopped()
- Updated API usage example
Bugfixes
- Fixed and revised countdown status management (fixes #97)
Misc
- Added E2E Testing with Cypress
- Updated
README.md
(fixes #51)