import * as React from "react"; import { ConfigConsumerProps } from "../Config"; export interface ICircleProgressProps { /** 外框id*/ id: string; /** * svg 的宽度 * * @default 120 **/ width?: number; /** * svg 的高度 * * @default 120 **/ height?: number; /** * 圆圈开始角度 * * @default 0 **/ startAngle?: number; /** * 圆圈结束角度 * * @default 2 **/ enderAngle?: number; /** * * * 进度条 数据 范围 0-100 **/ percent: number; /** * 内圈圈半径 * * @default 57 **/ innerRadius?: number; /** * 外圈圈半径 * * @default 57 **/ outerRadius?: number; /** * 圈圈圆角 * * @default 5 **/ cornerRadius?: number; /** * 圈圈内文案 * * @default '' **/ showText?: string; /** * 默认前缀 * * @default "lg" **/ prefixCls?: string; /** * 进度条大小 可选normal/mini * * @default "normal" **/ size?: string; /** * 自定义样式 * * @default **/ style?: React.CSSProperties; /** * 是否显示进度数值或状态图标 * * @default true **/ showInfo?: boolean; /** * 自定义外框class * * @default **/ className?: string; } export default class CircleProgress extends React.Component { static defaultProps: { width: number; height: number; startAngle: number; enderAngle: number; innerRadius: number; outerRadius: number; cornerRadius: string; showInfo: boolean; size: string; }; private prefixCls; constructor(props: ICircleProgressProps); componentDidMount(): void; componentWillReceiveProps(nextProps: ICircleProgressProps): void; drawChart(props: ICircleProgressProps): null; renderCircle: ({ getPrefixCls }: ConfigConsumerProps) => JSX.Element; render(): JSX.Element; }