react-smooth-counter
Install:
npm i react-smooth-counter
Basic usage:
import FastCounter from 'react-smooth-counter' <FastCounter = = = = =/>
Props:
necessarily(*)
Props | Functionality |
---|---|
delay | Time period before counting |
startNumber | Start number |
to* | End number |
style | JavaScript style object |
className | CSS classes |