2016-03-31 09:40:55 +08:00
|
|
|
---
|
|
|
|
order: 0
|
2016-07-26 15:42:04 +08:00
|
|
|
title:
|
|
|
|
zh-CN: 进度条
|
|
|
|
en-US: Progress bar
|
2016-03-31 09:40:55 +08:00
|
|
|
---
|
2015-06-14 12:55:44 +08:00
|
|
|
|
2016-07-26 15:42:04 +08:00
|
|
|
## zh-CN
|
|
|
|
|
2015-06-15 14:43:27 +08:00
|
|
|
标准的进度条。
|
2015-06-14 12:55:44 +08:00
|
|
|
|
2016-07-26 15:42:04 +08:00
|
|
|
## en-US
|
|
|
|
|
|
|
|
A standard progress bar.
|
|
|
|
|
2019-05-07 14:57:32 +08:00
|
|
|
```jsx
|
2016-01-20 20:20:24 +08:00
|
|
|
import { Progress } from 'antd';
|
2015-06-14 12:55:44 +08:00
|
|
|
|
2022-04-03 23:27:45 +08:00
|
|
|
export default () => (
|
2020-05-25 16:27:02 +08:00
|
|
|
<>
|
2016-04-05 16:51:26 +08:00
|
|
|
<Progress percent={30} />
|
|
|
|
<Progress percent={50} status="active" />
|
|
|
|
<Progress percent={70} status="exception" />
|
|
|
|
<Progress percent={100} />
|
|
|
|
<Progress percent={50} showInfo={false} />
|
2022-04-03 23:27:45 +08:00
|
|
|
</>
|
2018-11-28 15:00:03 +08:00
|
|
|
);
|
2019-05-07 14:57:32 +08:00
|
|
|
```
|