2.0.0 • Published 4 years ago

react-smooth-counter v2.0.0

Weekly downloads
3
License
ISC
Repository
github
Last release
4 years ago

NPM version

react-smooth-counter

npm.io

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(*)

PropsFunctionality
delayTime period before counting
startNumberStart number
to*End number
styleJavaScript style object
classNameCSS classes
2.0.0

4 years ago

1.1.0

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago