mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-29 20:08:37 +08:00
753c01ae18
fix antd.notification
22 lines
516 B
Markdown
22 lines
516 B
Markdown
# 小型进度条
|
|
|
|
- order: 2
|
|
|
|
适合放在较狭窄的区域内。
|
|
|
|
---
|
|
|
|
````jsx
|
|
import { Progress } from 'antd';
|
|
const ProgressLine = Progress.Line;
|
|
|
|
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} />
|
|
</div>
|
|
, document.getElementById('components-progress-demo-line-mini'));
|
|
````
|