rsuite
Version:
A suite of react components
26 lines (25 loc) • 837 B
TypeScript
import type { WithAsProps, RsRefForwardingComponent } from '../internals/types';
export interface ProgressLineProps extends WithAsProps {
/** Line color */
strokeColor?: string;
/** Percent of progress */
percent?: number;
/** Line width */
strokeWidth?: number;
/** Trail color */
trailColor?: string;
/** Trail width */
trailWidth?: number;
/** Show text */
showInfo?: boolean;
/** Progress status */
status?: 'success' | 'fail' | 'active';
/** The progress bar is displayed vertically */
vertical?: boolean;
}
/**
* The `Progress.Line` component is used to display the progress of current operation.
* @see https://rsuitejs.com/components/progress/#line
*/
declare const ProgressLine: RsRefForwardingComponent<'div', ProgressLineProps>;
export default ProgressLine;