@cimpress/react-components
Version:
React components to support the MCP styleguide
22 lines • 792 B
TypeScript
import React from '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) => React.JSX.Element;
//# sourceMappingURL=ProgressBar.d.ts.map