39 lines
847 B
TypeScript
39 lines
847 B
TypeScript
import * as React from 'react';
|
|
import { StandardProps } from '../@types/common';
|
|
|
|
export interface ProgressCircleProps extends StandardProps {
|
|
/** Line color */
|
|
strokeColor?: string;
|
|
|
|
/** The end of different types of open paths */
|
|
strokeLinecap?: 'butt' | 'round' | 'square';
|
|
|
|
/** Tail color */
|
|
trailColor?: string;
|
|
|
|
/** Percent of progress */
|
|
percent?: number;
|
|
|
|
/** Line width */
|
|
strokeWidth?: number;
|
|
|
|
/** Tail width */
|
|
trailWidth?: number;
|
|
|
|
/** Circular progress bar degree */
|
|
gapDegree?: number;
|
|
|
|
/** Circular progress bar Notch position */
|
|
gapPosition?: 'top' | 'bottom' | 'left' | 'right';
|
|
|
|
/** Show text */
|
|
showInfo?: boolean;
|
|
|
|
/** Progress status */
|
|
status?: 'success' | 'fail' | 'active';
|
|
}
|
|
|
|
declare const ProgressCircle: React.ComponentType<ProgressCircleProps>;
|
|
|
|
export default ProgressCircle;
|