dekk-app / dekk

👁 A presentation tool written in react.js

Home Page:https://dekk-app.github.io/dekk

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Increase precision of Timer

TimPietrusky opened this issue · 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

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

Yes, PLEASE! 🦄