Skip to content

flyingant/react-number-count-down

Repository files navigation

react-count-down

react-count-down is a react component help to display a simple count down number

Installation

npm install react-number-count-down --save

Usage

import React, { Component } from 'react';
import ReactDOM from 'react-dom';
import CountDown from 'react-number-count-down';

ReactDOM.render(
  <CountDown from={0} to={60} type={'+'} addon={'seconds'} interval={1} onComplete={() => alert('Count down completed')} />,
  document.getElementById('root'));

Development

npm install
npm start

About

A react count down component

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published