import * as Progress from '@radix-ui/react-progress'; export type ProgressBarProps = { value: number; max?: number; getValueLabel?(value: number, max: number): string; /** * Size of progressbar * @default 'medium' */ size?: 'small' | 'medium' | 'large'; /** * Color of progressbar * @default 'highlight' */ color?: 'highlight' | 'interactive' | 'success' | 'critical'; /** * Whether the fill animation is triggered * @default true */ animated?: boolean; /** * Id (ids) of element (elements) that describes progressbar */ ariaLabelledBy?: string; /** * To give custom color */ customColor?: { backgroundColor: string; indicatorColor: string; }; } & Progress.ProgressProps;