dekk icon indicating copy to clipboard operation
dekk copied to clipboard

Increase precision of Timer

Open TimPietrusky opened this issue 7 years ago • 2 comments

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

  1. dekk: 1.0.0-17

TimPietrusky avatar Mar 06 '18 01:03 TimPietrusky

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

pixelass avatar Mar 06 '18 01:03 pixelass

Yes, PLEASE! 🦄

TimPietrusky avatar Mar 06 '18 22:03 TimPietrusky