2.0.0 • Published 4 years ago
react-smooth-counter v2.0.0
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 |