mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-11 13:59:11 +08:00
a5efa7a81a
* test: increase test case of Progress and Comment * test: add test case for Avatar * test: add test case for Dropdown * fix snapshot * fix snapshot * remove console.log * fix lint * add avatar
30 lines
428 B
Markdown
30 lines
428 B
Markdown
---
|
|
order: 0
|
|
title:
|
|
zh-CN: 进度条
|
|
en-US: Progress bar
|
|
---
|
|
|
|
## zh-CN
|
|
|
|
标准的进度条。
|
|
|
|
## en-US
|
|
|
|
A standard progress bar.
|
|
|
|
```jsx
|
|
import { Progress } from 'antd';
|
|
|
|
ReactDOM.render(
|
|
<>
|
|
<Progress percent={30} />
|
|
<Progress percent={50} status="active" />
|
|
<Progress percent={70} status="exception" />
|
|
<Progress percent={100} />
|
|
<Progress percent={50} showInfo={false} />
|
|
</>,
|
|
mountNode,
|
|
);
|
|
```
|