React Countdown Clock
A HTML 5 canvas countdown clock as a React component
Demo
pughpugh.github.io/react-countdown-clock
Installation
npm install react-countdown-clock
Usage
<ReactCountdownClock seconds={60}
color="#000"
alpha={0.9}
size={300}
onComplete={myCallback} />
Props
seconds
to count downcolor
you'd like it to be as a hex/css colour codealpha
transparency for componentsize
for height and width of canvas element, in pixels.onComplete
callback when timer completes
Bugs
github.com/pughpugh/react-countdown-clock/issues