mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-21 13:18:04 +08:00
23 lines
407 B
Markdown
23 lines
407 B
Markdown
# 进度条
|
|
|
|
- order: 0
|
|
|
|
标准的进度条。
|
|
|
|
---
|
|
|
|
````jsx
|
|
import { Progress } from 'antd';
|
|
const ProgressLine = Progress.Line;
|
|
|
|
ReactDOM.render(
|
|
<div>
|
|
<ProgressLine percent={30} />
|
|
<ProgressLine percent={50} status="active" />
|
|
<ProgressLine percent={70} status="exception" />
|
|
<ProgressLine percent={100} />
|
|
<ProgressLine percent={50} showInfo={false} />
|
|
</div>
|
|
, mountNode);
|
|
````
|