UNPKG

@arolariu/components

Version:

🎨 70+ beautiful, accessible React components built on Radix UI. TypeScript-first, tree-shakeable, SSR-ready. Perfect for modern web apps, design systems & rapid prototyping. Zero config, maximum flexibility! ⚡

16 lines • 662 B
import { type SpringOptions, type UseInViewOptions } from "motion/react"; import * as React from "react"; interface CountingNumberProps extends React.HTMLAttributes<HTMLSpanElement> { number: number; fromNumber?: number; padStart?: boolean; inView?: boolean; inViewMargin?: UseInViewOptions["margin"]; inViewOnce?: boolean; decimalSeparator?: string; transition?: SpringOptions; decimalPlaces?: number; } declare const CountingNumber: React.ForwardRefExoticComponent<CountingNumberProps & React.RefAttributes<HTMLSpanElement>>; export { CountingNumber, type CountingNumberProps }; //# sourceMappingURL=counting-number.d.ts.map