You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
476 B
30 lines
476 B
5 years ago
|
---
|
||
|
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';
|
||
|
|
||
|
ReactDOM.render(
|
||
|
<div>
|
||
|
<Progress percent={50} steps={3} strokeColor="#1890ff" />
|
||
|
<br />
|
||
|
<Progress percent={30} steps={5} strokeColor="#1890ff" />
|
||
|
<br />
|
||
|
<Progress percent={100} steps={5} size="small" strokeColor="#1890ff" />
|
||
|
</div>,
|
||
|
mountNode,
|
||
|
);
|
||
|
```
|