pughpugh / react-countdown-clock

HTML5 canvas countdown clock React component
ISC License
187 stars 83 forks source link

Can I use multiple react-countdown-clock's separately for hours, minutes and seconds. #51

Closed SuryaAcube closed 6 years ago

SuryaAcube commented 6 years ago

@pughpugh What I meant to ask is can i use four separate timers each for days, hours, minutes and seconds in the same page.

pughpugh commented 6 years ago

Sorry for the delayed response. I guess you mean where they all represent a single countdown, not 4 individual countdowns. It's a nice idea, although a little beyond the scope of this project at the moment.

I have started to think about separating out the timer logic from the front end rendering, so a user could pass in their own timer or alternative rendering. But even then, it wouldn't work out of the box for your use-case.

I'd suggest forking or creating your own timer.

SuryaAcube commented 6 years ago

@pughpugh Thank you for the suggestion.