mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-17 10:28:06 +08:00
21 lines
465 B
Markdown
21 lines
465 B
Markdown
# 小型进度条
|
|
|
|
- order: 2
|
|
|
|
适合放在较狭窄的区域内。
|
|
|
|
---
|
|
|
|
````jsx
|
|
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'));
|
|
````
|