react-smooth-counter

2.0.0 • Public • Published

NPM version

react-smooth-counter

Install:

npm i react-smooth-counter

Basic usage:

import {FastCounter} from 'react-smooth-counter'
 
<FastCounter
    delay={0}
    startNumber={0}
    to={852}
    style={{color: 'grey', fontSize: 50, fontWeight: 'bold', width: '100%'}}
    className={'randomClass'}
/>

Props:

necessarily(*)

Props Functionality
delay Time period before counting
startNumber Start number
to* End number
style JavaScript style object
className CSS classes

Package Sidebar

Install

npm i react-smooth-counter

Weekly Downloads

29

Version

2.0.0

License

ISC

Unpacked Size

6.95 kB

Total Files

4

Last publish

Collaborators

  • onixen