npm.io
0.1.5 • Published 7 years ago

react-native-number-ticker

Licence
ISC
Version
0.1.5
Deps
0
Size
541 kB
Vulns
0
Weekly
0
Stars
28

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!

Keywords