UNPKG

react-animated-numbers

Version:

Library showing animation of number changes in react.js

13 lines (12 loc) 463 B
import React from "react"; import { Transition } from "motion/react"; interface Props { className?: string; animateToNumber: number; fontStyle?: React.CSSProperties; transitions?: (index: number) => Transition; includeComma?: boolean; locale?: string; } declare const Enhanced: React.MemoExoticComponent<({ className, animateToNumber, fontStyle, transitions, includeComma, locale, }: Props) => React.JSX.Element>; export default Enhanced;