Skip to content

naazy/react-countdown-to-future-date

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-countdown-to-future-date

npm version

react-countdown-to-future-date is a React component that counts down to a specific future date.

gif

Example of how to use - add this code to your main.js file

var React       = require('react');
var ReactDOM    = require('react-dom');
var countdown  = require('react-countdown-to-future-date');
var rootElement = document.body.getElementById("wrapper");

ReactDOM.render(
  <countdown givenDate = {"November, 17, 2015"}  afterUnmount = {this.afterUnmount}/>,
  rootElement
);

Please note: the date has to be written in the format: month, date, year

Link to the project on Github
Link to the project on npm

About

React component that counts down to a specific future date

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published