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.

22 lines
516 B

# 小型进度条
10 years ago
- order: 2
10 years ago
适合放在较狭窄的区域内。
10 years ago
---
````jsx
import { Progress } from 'antd';
const ProgressLine = Progress.Line;
10 years ago
9 years ago
ReactDOM.render(
<div style={{ width: 170 }}>
<ProgressLine percent={30} strokeWidth={5} />
<ProgressLine percent={50} strokeWidth={5} status="active" />
<ProgressLine percent={70} strokeWidth={5} status="exception" />
<ProgressLine percent={100} strokeWidth={5} />
10 years ago
</div>
, document.getElementById('components-progress-demo-line-mini'));
10 years ago
````