UNPKG

react-native-animated-numbers

Version:
16 lines 764 B
import React from 'react'; import type { StyleProp, TextStyle, ViewStyle } from 'react-native'; import { Animated } from 'react-native'; export interface AnimatedNumberProps { animateToNumber: number; fontStyle?: StyleProp<TextStyle>; animationDuration?: number; includeComma?: boolean; easing?: Animated.TimingAnimationConfig['easing']; containerStyle?: StyleProp<ViewStyle>; fontVariant?: TextStyle['fontVariant']; locale?: Intl.LocalesArgument; } declare const AnimatedNumber: ({ animateToNumber: givenAnimateToNumber, fontStyle, animationDuration, includeComma, easing, containerStyle, fontVariant, locale, }: AnimatedNumberProps) => React.JSX.Element; export default AnimatedNumber; //# sourceMappingURL=AnimatedNumber.d.ts.map