Skip to content

it-dot-com/react-moment-countdown

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-moment-countdown

An unopinionated countdown component for React using moment.js.

Installation

$ npm install react-moment-countdown --save

How to use

import React from 'react';
import ReactMomentCountDown from 'react-moment-countdown';

const CountDownComponent = (props) => {
  const dateInFuture = new Date('2017-12-31');

  return(
    <ReactMomentCountDown toDate={ dateInFuture }>
  );
};

About

An unopinionated countdown component for React using moment.js.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%