react-native-animated-numbers
Library showing animation of number changes in react-native
If you want web version in react.js download react-animated-numbers
install
This package is using react-native-reanimated. So following libs should be installed first
next
props
type | default | description | |
---|---|---|---|
animateToNumber | number | none | Number to be animated |
fontStyle | TextStyle? | none | Style of number text |
animationDuration | number? | 1400(ms) | The speed at which the animation works |
includeComma | boolean? | false | Whether the number contains commas |
easing | Easing? | Easing.elastic(1.2) | React Native Easing API in Animated |