Skip to content

Latest commit

 

History

History
32 lines (20 loc) · 599 Bytes

README.md

File metadata and controls

32 lines (20 loc) · 599 Bytes

NOT MAINTAINED

React Date Countdown

Date 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 (optional): 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.