ant-design/components/progress/demo/line-mini.md

20 lines
416 B
Markdown
Raw Normal View History

2015-06-15 14:43:27 +08:00
# 小型进度条
2015-06-15 11:48:30 +08:00
2015-06-15 14:43:27 +08:00
- order: 1
2015-06-15 11:48:30 +08:00
2015-06-15 14:43:27 +08:00
适合放在较狭窄的区域内。
2015-06-15 11:48:30 +08:00
---
````jsx
2015-06-15 15:11:02 +08:00
var Progress = antd.Progress.Line;
2015-06-15 11:48:30 +08:00
React.render(
<div>
2015-06-15 15:11:02 +08:00
<Progress percent="30" width="170" strokeWidth="3" />
<Progress percent="70" width="170" strokeWidth="3" status="exception" />
<Progress percent="100" width="170" strokeWidth="3" />
2015-06-15 11:48:30 +08:00
</div>
, document.getElementById('components-progress-demo-line-mini'));
````