mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-17 02:18:07 +08:00
6776bb8916
* docs: update demo * chore: add script * test: fix demo test * docs: convert demos * chore: move script * test: remove react-dom import * chore: update deps * docs: update riddle js * test: fix image test * docs: fix riddle demo
28 lines
491 B
Markdown
28 lines
491 B
Markdown
---
|
|
order: 2
|
|
title:
|
|
zh-CN: 小型进度条
|
|
en-US: Mini size progress bar
|
|
---
|
|
|
|
## zh-CN
|
|
|
|
适合放在较狭窄的区域内。
|
|
|
|
## en-US
|
|
|
|
Appropriate for a narrow area.
|
|
|
|
```jsx
|
|
import { Progress } from 'antd';
|
|
|
|
export default () => (
|
|
<div style={{ width: 170 }}>
|
|
<Progress percent={30} size="small" />
|
|
<Progress percent={50} size="small" status="active" />
|
|
<Progress percent={70} size="small" status="exception" />
|
|
<Progress percent={100} size="small" />
|
|
</div>
|
|
);
|
|
```
|