UNPKG

@unicity/design-system

Version:

A comprehensive React component library built on Material-UI with advanced theming capabilities including neumorphism design support

42 lines 1.06 kB
import React from 'react'; import { SxProps, Theme } from '@mui/material'; export interface OdometerProps { /** * The numeric value to display */ value: number; /** * Locale for number formatting (e.g., 'en-US', 'de-DE', 'fr-FR') */ locale?: string; /** * NumberFormat options for formatting */ numberFormatOptions?: Intl.NumberFormatOptions; /** * Additional CSS classes */ className?: string; /** * Whether to animate from 0 on mount */ animateOnMount?: boolean; /** * MUI sx prop for styling the container */ sx?: SxProps<Theme>; /** * Styles for individual elements */ styles?: { container?: SxProps<Theme>; digitContainer?: SxProps<Theme>; digitRibbon?: SxProps<Theme>; digit?: SxProps<Theme>; literalSegment?: SxProps<Theme>; selectableText?: SxProps<Theme>; }; } declare const Odometer: React.FC<OdometerProps>; export { Odometer }; //# sourceMappingURL=Odometer.d.ts.map