ant-design/components/steps/demo/simple.md

29 lines
556 B
Markdown
Raw Normal View History

2016-03-31 09:40:55 +08:00
---
order: 0
2016-07-21 10:07:30 +08:00
title:
zh-CN: 基本用法
en-US: Basic
2016-03-31 09:40:55 +08:00
---
2015-06-25 16:01:04 +08:00
2016-07-21 10:07:30 +08:00
## zh-CN
2015-06-26 10:46:21 +08:00
简单的步骤条。
2015-06-25 16:01:04 +08:00
2016-07-21 10:07:30 +08:00
## en-US
The most basic step bar.
2015-06-25 16:01:04 +08:00
````jsx
import { Steps } from 'antd';
const Step = Steps.Step;
2015-06-25 16:01:04 +08:00
2016-07-21 14:20:49 +08:00
ReactDOM.render(
<Steps current={1}>
<Step title="已完成" description="这里是多信息的描述" />
<Step title="进行中" description="这里是多信息的描述" />
<Step title="待运行" description="这里是多信息的描述" />
<Step title="待运行" description="这里是多信息的描述" />
</Steps>
, mountNode);
2015-06-25 20:01:20 +08:00
````