1.0.0 • Published 2 years ago

react-digital-countdown v1.0.0

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

digital countdown component for react

serverNowTime

if serverNowTime is provided, it's used for countdown begin time. if not provided, use client now time for countdown begin time.

dueTime

countdown end time.

interval

countdown interval. default to 1000 millisecond.

startCallBack

callback function triggered when countdown start.

progressCallback

callback function triggered when countdown tik.

finishCallBack

callback function triggered when countdown finish.