ant-design/components/steps/demo/vertical-small.md

28 lines
593 B
Markdown
Raw Normal View History

2016-03-31 09:40:55 +08:00
---
order: 5
2016-07-21 10:07:30 +08:00
title:
zh-CN: 竖直方向的小型步骤条
en-US: Vertical mini version
2016-03-31 09:40:55 +08:00
---
2015-08-27 13:20:31 +08:00
2016-07-21 10:07:30 +08:00
## zh-CN
2015-08-27 13:20:31 +08:00
简单的竖直方向的小型步骤条。
2016-07-21 10:07:30 +08:00
## en-US
A simple mini version step bar in the vertical direction.
2017-01-19 15:19:03 +08:00
````__react
import { Steps } from 'antd';
const Step = Steps.Step;
2015-08-27 13:20:31 +08:00
2016-07-21 14:20:49 +08:00
ReactDOM.render(
<Steps direction="vertical" size="small" current={1}>
<Step title="Finished" description="This is a description." />
<Step title="In Progress" description="This is a description." />
<Step title="Waiting" description="This is a description." />
2016-07-21 14:20:49 +08:00
</Steps>
, mountNode);
2015-08-27 13:20:31 +08:00
````