@cimpress/react-components
Version:
React components to support the MCP styleguide
22 lines • 791 B
TypeScript
/// <reference types="react" />
import { PublicComponentProps } from './types';
export interface ProgressBarProps extends PublicComponentProps {
/**
* The type determining the validation color to apply to the progress bar.
*/
status?: 'danger' | 'info' | 'success' | 'warning';
/**
* The size of the progress bar.
*/
size?: 's' | 'm' | 'l' | 'xl';
/**
* The color of the progress bar. If type is provided, then color will be ignored.
*/
color?: string;
/**
* The current value of the progress bar. Must be a number from 0 to 100.
*/
value: number;
}
export declare const ProgressBar: ({ className, size, status, color, value, style, ...rest }: ProgressBarProps) => JSX.Element;
//# sourceMappingURL=ProgressBar.d.ts.map