You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
454 B

# 进度条
10 years ago
- order: 0
标准的进度条。
10 years ago
---
````jsx
import { Progress } from 'antd';
const ProgressLine = Progress.Line;
10 years ago
9 years ago
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>
, document.getElementById('components-progress-demo-line'));
10 years ago
````