2016-03-31 09:40:55 +08:00
|
|
|
---
|
|
|
|
order: 4
|
2016-07-21 10:07:30 +08:00
|
|
|
title:
|
|
|
|
zh-CN: 竖直方向的步骤条
|
|
|
|
en-US: Vertical
|
2016-03-31 09:40:55 +08:00
|
|
|
---
|
2015-08-26 18:28:29 +08:00
|
|
|
|
2016-07-21 10:07:30 +08:00
|
|
|
## zh-CN
|
|
|
|
|
2015-08-27 13:20:31 +08:00
|
|
|
简单的竖直方向的步骤条。
|
2015-08-26 18:28:29 +08:00
|
|
|
|
2016-07-21 10:07:30 +08:00
|
|
|
## en-US
|
|
|
|
|
|
|
|
A simple step bar in the vertical direction.
|
|
|
|
|
2015-08-26 18:28:29 +08:00
|
|
|
````jsx
|
2015-11-25 17:35:49 +08:00
|
|
|
import { Steps } from 'antd';
|
2015-10-28 20:55:49 +08:00
|
|
|
const Step = Steps.Step;
|
2015-08-26 18:28:29 +08:00
|
|
|
|
2016-07-21 14:20:49 +08:00
|
|
|
ReactDOM.render(
|
|
|
|
<Steps direction="vertical" current={1}>
|
|
|
|
<Step title="已完成" description="这里是多信息的描述" />
|
|
|
|
<Step title="进行中" description="这里是多信息的描述" />
|
|
|
|
<Step title="待运行" description="这里是多信息的描述" />
|
|
|
|
<Step title="待运行" description="这里是多信息的描述" />
|
|
|
|
</Steps>
|
|
|
|
, mountNode);
|
2015-08-26 18:28:29 +08:00
|
|
|
````
|