|
@ -92,9 +92,10 @@ export default class Progress extends React.Component<ProgressProps, any> { |
|
|
height: circleSize, |
|
|
height: circleSize, |
|
|
fontSize: circleSize * 0.16 + 6, |
|
|
fontSize: circleSize * 0.16 + 6, |
|
|
}; |
|
|
}; |
|
|
|
|
|
const circleWidth = strokeWidth || 6; |
|
|
progress = ( |
|
|
progress = ( |
|
|
<div className={`${prefixCls}-inner`} style={circleStyle}> |
|
|
<div className={`${prefixCls}-inner`} style={circleStyle}> |
|
|
<Circle percent={percent} strokeWidth={strokeWidth || 6} |
|
|
<Circle percent={percent} strokeWidth={circleWidth} trailWidth={circleWidth} |
|
|
strokeColor={statusColorMap[progressStatus]} trailColor={trailColor} |
|
|
strokeColor={statusColorMap[progressStatus]} trailColor={trailColor} |
|
|
/> |
|
|
/> |
|
|
{progressInfo} |
|
|
{progressInfo} |
|
|