2015-06-15 14:43:27 +08:00
|
|
|
# 小型进度条
|
2015-06-15 11:48:30 +08:00
|
|
|
|
2015-06-15 16:49:37 +08:00
|
|
|
- order: 2
|
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-07-29 23:32:24 +08:00
|
|
|
var style = {
|
|
|
|
width: "170px"
|
|
|
|
}
|
2015-06-15 11:48:30 +08:00
|
|
|
|
|
|
|
React.render(
|
2015-07-29 23:32:24 +08:00
|
|
|
<div style={style}>
|
2015-07-29 22:20:05 +08:00
|
|
|
<Progress percent="30" strokeWidth="5" />
|
2015-07-30 15:07:38 +08:00
|
|
|
<Progress percent="50" strokeWidth="5" status="active" />
|
2015-07-29 22:20:05 +08:00
|
|
|
<Progress percent="70" strokeWidth="5" status="exception" />
|
|
|
|
<Progress percent="100" strokeWidth="5" />
|
2015-06-15 11:48:30 +08:00
|
|
|
</div>
|
|
|
|
, document.getElementById('components-progress-demo-line-mini'));
|
|
|
|
````
|