import { PureComponent } from "react"; import LineProgress, { ILineProps } from "./LineProgress"; import CircleProgress, { ICircleProgressProps } from "./CircleProgress"; import { ConfigConsumerProps } from "../Config"; interface IProps { /** * 进度条类型 * * @default "line" **/ type?: string; } declare type IType = ILineProps | ICircleProgressProps; declare type IProgress = IType & IProps; export default class Progress extends PureComponent { static CircleProgress: typeof CircleProgress; static LineProgress: typeof LineProgress; static defaultProps: { type: string; size: string; }; renderProgress: ({ getPrefixCls }: ConfigConsumerProps) => JSX.Element | null; render(): JSX.Element; } export {};