chadpaulson / react-count-down

a count down react component

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

a count down react component


Languages

Language:JavaScript 99.9%Language:HTML 0.1%Language:CSS 0.0%