/react-native-number-ticker

A simple easy-to-use ticker component for animating ticker numbers.

Primary LanguageJavaScript

react-native-number-ticker

A simple, lightweight and easy-to-use ticker component for natively animating smooth ticker numbers.

Installation:

$ npm i react-native-number-ticker

or if you are using yarn

$ yarn add react-native-number-ticker

Example usage:

First, import the component

import NumberTicker from 'react-native-number-ticker';

and now it's ready to use in your project!

<NumberTicker
   number={34.98}
   textSize={40}
   duration={1500}
   textStyle={{fontWeight: 'bold', color: 'white'}}
/>

Enjoy making your app look nice and fancy with animated numeric displays! 👌