mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-17 10:28:06 +08:00
465 B
465 B
小型进度条
- order: 2
适合放在较狭窄的区域内。
var Progress = antd.Progress.Line;
React.render(
<div style={{ width: 170 }}>
<Progress percent="30" strokeWidth="5" />
<Progress percent="50" strokeWidth="5" status="active" />
<Progress percent="70" strokeWidth="5" status="exception" />
<Progress percent="100" strokeWidth="5" />
</div>
, document.getElementById('components-progress-demo-line-mini'));