Create "<Countdown/>" component
Closed this issue · 1 comments
diegocasmo commented
Create a <Countdown/>
component, which uses moment.js to countdown a particular number of seconds. When such seconds have been counted, it should call a onCountdownCompleted
prop.
This component should also handle an amount of seconds larger than 60
. It should render the countdown using the 00:00:00
format, that is, hours:minutes:seconds
(zero padded when less than 10).
diegocasmo commented
This might be useful: Moment JS Countdown Clock