lyef-counter

1.0.2 • Public • Published

Lyef React Counter

Build Status Badge size Badge gzip size

Getting Started

Installation

$ npm install --save lyef-counter

Usage

import Counter from 'lyef-counter';
 
const doneCallback = () => console.log('done'); // Does something when count ends
 
// Normal Counting
<Counter start={0} end={10} done={doneCallback} />
 
// Countdown
<Counter start={10} end={0} done={doneCallback} />

Live examples

Architecture

We've developed this component using the following boilerplate: lyef-react-component.

To know more about the architecture or if you want to contribute with this component: Contributing Documentation.

License

MIT License @ lyef

Package Sidebar

Install

npm i lyef-counter

Weekly Downloads

2

Version

1.0.2

License

MIT

Last publish

Collaborators

  • nipher
  • willianjusten