You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
The key has expired.
Changelog
Updates onComplete callback to consistently trigger, even when the countdown is completed on start. #169
Bugfixes
Fixes date prop typing (#212):
The CountdownProps interface date prop was initially set to optional due to an older component that is still being supported in order to follow Semver (for react-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.