Increase precision of Timer
TimPietrusky opened this issue · comments
NERDDISCO commented
Issue description
Timer would be nice with seconds and milliseconds.
"Minutes only" are limiting the usage.
Steps to reproduce
- Use `import Timer, {renderCountdown} from '@dekk/countdown'"
Versions
- dekk: 1.0.0-17
Gregor Adams commented
what are you referring to? The duration?
Maybe something like this could work?
<Timer startAt="00:30:30" warnAt="00:01:25"/> // parsed from string HH:MM:SS
<Timer startAt={60000} warnAt={10000}/> // using miliseconds
NERDDISCO commented
Yes, PLEASE! 🦄