A simple, lightweight and easy-to-use ticker component for natively animating smooth ticker numbers.
npm install react-native-number-ticker
$ npm i react-native-number-ticker
`
or if you are using yarn
`
$ yarn add react-native-number-ticker
`$3
First, import the component
`javascript
import NumberTicker from 'react-native-number-ticker';
`
and now it's ready to use in your project!
`javascript
number={34.98}
textSize={40}
duration={1500}
textStyle={{fontWeight: 'bold', color: 'white'}}
/>
``