2020-07-27 21:40:36 +08:00
|
|
|
---
|
|
|
|
order: 13
|
|
|
|
title:
|
|
|
|
zh-CN: 带有进度的步骤
|
|
|
|
en-US: Steps with progress
|
|
|
|
---
|
|
|
|
|
|
|
|
## zh-CN
|
|
|
|
|
|
|
|
带有进度的步骤。
|
|
|
|
|
|
|
|
## en-US
|
|
|
|
|
|
|
|
Steps with progress.
|
|
|
|
|
|
|
|
```jsx
|
|
|
|
import { Steps } from 'antd';
|
|
|
|
|
|
|
|
const { Step } = Steps;
|
|
|
|
|
2022-04-03 23:27:45 +08:00
|
|
|
export default () => (
|
2020-07-27 21:40:36 +08:00
|
|
|
<Steps current={1} percent={60}>
|
|
|
|
<Step title="Finished" description="This is a description." />
|
|
|
|
<Step title="In Progress" subTitle="Left 00:00:08" description="This is a description." />
|
|
|
|
<Step title="Waiting" description="This is a description." />
|
2022-04-03 23:27:45 +08:00
|
|
|
</Steps>
|
2020-07-27 21:40:36 +08:00
|
|
|
);
|
|
|
|
```
|