2015-06-15 14:43:27 +08:00
|
|
|
# 进度条
|
2015-06-14 12:55:44 +08:00
|
|
|
|
|
|
|
- order: 0
|
|
|
|
|
2015-06-15 14:43:27 +08:00
|
|
|
标准的进度条。
|
2015-06-14 12:55:44 +08:00
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
````jsx
|
2015-10-28 20:55:49 +08:00
|
|
|
import { Progress } from 'antd';
|
|
|
|
const ProgressLine = Progress.Line;
|
2015-06-14 12:55:44 +08:00
|
|
|
|
2015-10-20 16:47:55 +08:00
|
|
|
ReactDOM.render(
|
2015-06-14 19:50:23 +08:00
|
|
|
<div>
|
2015-10-28 20:55:49 +08:00
|
|
|
<ProgressLine percent={30} />
|
|
|
|
<ProgressLine percent={50} status="active" />
|
|
|
|
<ProgressLine percent={70} status="exception" />
|
|
|
|
<ProgressLine percent={100} />
|
|
|
|
<ProgressLine percent={50} showInfo={false} />
|
2015-06-14 19:50:23 +08:00
|
|
|
</div>
|
2015-10-28 20:55:49 +08:00
|
|
|
, document.getElementById('components-progress-demo-line'));
|
2015-06-14 12:55:44 +08:00
|
|
|
````
|