react-countdown-clock-stealth

1.0.10 • Public • Published

React Countdown Clock

A HTML 5 canvas countdown clock as a React component

Screenshot

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 down
  • color you'd like it to be as a hex/css colour code
  • alpha transparency for component
  • size for height and width of canvas element, in pixels.
  • onComplete callback when timer completes

Bugs

github.com/pughpugh/react-countdown-clock/issues

Package Sidebar

Install

npm i react-countdown-clock-stealth

Weekly Downloads

1

Version

1.0.10

License

ISC

Last publish

Collaborators

  • fcavalcantirj