react-date-countdown

0.1.7 • Public • Published

React Date Countdown

Countdown component for React.js

Installation

$ npm install react-date-countdown

Usage

import Countdown from 'react-date-countdown';

<Countdown finalDate="2018-07-16T00:00:00Z" />

Attributes

  • startDate: Delta of start date. If this is set the component won't behave as a countdown but as an interval calculator between the start and final date
  • finalDate: Delta of final date.
  • className (optional): CSS class.

Readme

Keywords

none

Package Sidebar

Install

npm i react-date-countdown

Weekly Downloads

5

Version

0.1.7

License

MIT

Unpacked Size

45.6 kB

Total Files

5

Last publish

Collaborators

  • felipemrodrigues