/react-count-down

a count down react component

Primary LanguageJavaScript

react-count-down

react-count-down is a simple count down component using react.js.

Installation

npm install react-count-down --save

Usage

var React = require('react');
var CountDown = require('react-count-down');

var OPTIONS = { endDate: '06/03/2018 10:12 AM', prefix: 'until my birthday!' }

React.render(<CountDown options={OPTIONS} />, document.getElementById("container"));

Styles

react-count-down can be used with your own custom styles. A minimal count-down.css style sheet is included as a guide.

Development

npm install
npm test
npm start

License

MIT