import * as React from "react"; import { ConfigConsumerProps } from "../Config"; export interface ILineProps { /** * 默认前缀 * * @default "lg" **/ prefixCls?: string; /** * 百分比 * * @default 0 **/ percent?: number; /** * 进度条大小 可选normal/mini * * @default "normal" **/ size?: string; /** * 自定义样式 * * @default **/ style?: React.CSSProperties; /** * 是否显示进度数值或状态图标 * * @default true **/ showInfo?: boolean; /** * 自定义外框class * * @default **/ className?: string; } export default class LineProgress extends React.PureComponent { static defaultProps: { percent: number; size: string; style: null; showInfo: boolean; }; renderLine: ({ getPrefixCls }: ConfigConsumerProps) => JSX.Element; render(): JSX.Element; }