Skip to content
This repository has been archived by the owner on May 4, 2022. It is now read-only.

Increase precision of Timer #34

Open
TimPietrusky opened this issue Mar 6, 2018 · 2 comments
Open

Increase precision of Timer #34

TimPietrusky opened this issue Mar 6, 2018 · 2 comments

Comments

@TimPietrusky
Copy link
Member

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 TimPietrusky changed the title Increase precision for Timer Increase precision of Timer Mar 6, 2018
@pixelass
Copy link
Member

pixelass commented Mar 6, 2018

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

@TimPietrusky
Copy link
Member Author

Yes, PLEASE! 🦄

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants