react-native-rolling-number-ticker
v1.1.4
Published
React native rolling number ticker
Downloads
24
Readme
react-native-rolling-number-ticker
Rolling number animation ticker
Installation
npm install react-native-rolling-number-ticker
Usage
import RollingNumberTicker from "react-native-rolling-number-ticker";
| Props | Type | Description | default |
| ------------ | -------------------- | ----------------------------------------- | ------- |
| textSize
| number | fontSize | 35 |
| fromNumber
| number | Counter start number(required) | none |
| number
| number | Counter end number(required) | none |
| duration
| number(milliseconds) | duration of animation | 1800 |
| style
| object | additonal text container styles(optional) | {} |
| textStyle
| object | text styles(optional) | {} |
Example
<RollingNumberTicker
textSize={20}
fromNumber={10400}
number={12929}
duration={4000}
/>
Contributing
See the contributing guide to learn how to contribute to the repository and the development workflow.
License
MIT
Made with create-react-native-library