mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-19 20:08:43 +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
29 lines
418 B
Markdown
29 lines
418 B
Markdown
---
|
|
order: 11
|
|
title:
|
|
zh-CN: 步骤进度条
|
|
en-US: Progress bar with steps
|
|
---
|
|
|
|
## zh-CN
|
|
|
|
带步骤的进度条。
|
|
|
|
## en-US
|
|
|
|
A progress bar with steps.
|
|
|
|
```jsx
|
|
import { Progress } from 'antd';
|
|
|
|
export default () => (
|
|
<>
|
|
<Progress percent={50} steps={3} />
|
|
<br />
|
|
<Progress percent={30} steps={5} />
|
|
<br />
|
|
<Progress percent={100} steps={5} size="small" strokeColor="#52c41a" />
|
|
</>
|
|
);
|
|
```
|