Skip to content

This is a very simple timer component that can count up or down. It only returns a span with the counting digits. On countUp it starts on 00:00 and counts with increments of one second. On countDown it starts on a startTime in seconds gotten from props and counts down to zero.

Notifications You must be signed in to change notification settings

manisha2012/React-Timer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

About

This is a very simple timer component that can count up or down. It only returns a span with the counting digits. On countUp it starts on 00:00 and counts with increments of one second. On countDown it starts on a startTime in seconds gotten from props and counts down to zero.

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published