count animation react component with transition
click here
$ yarn add react-counter-timer
import ReactCountTimer from 'react-count-timer
<div>
<ReactCountTimer
className="my-class-name"
count={500}
duration={3000}
/>
</div>
option name | type | required | description |
---|---|---|---|
className | string | false | class name to add |
count | number | true | final number to render |
duration | number | true | time to reach the count |