goobs-frontend
Version:
A comprehensive React-based libary for building modern web applications
24 lines • 952 B
TypeScript
import { default as React } from 'react';
import { ProgressBarStyles } from '../../theme';
export interface ProgressBarProps {
/** Progress value from 0-100 for determinate mode */
value?: number;
/** Variant of the progress bar */
variant?: 'determinate' | 'indeterminate';
/** Show progress label/percentage */
showLabel?: boolean;
/** Custom label text (overrides default percentage) */
label?: string;
/** ARIA label for accessibility */
'aria-label'?: string;
/** Whether the progress bar represents a required process */
'aria-required'?: boolean;
/** Comprehensive styling options including theme, custom colors, and layout properties. */
styles?: ProgressBarStyles;
}
/**
* A versatile progress bar component that supports both determinate and indeterminate modes.
*/
declare const ProgressBar: React.FC<ProgressBarProps>;
export default ProgressBar;
//# sourceMappingURL=index.d.ts.map