ant-design/components/timeline/demo/basic.md

22 lines
498 B
Markdown
Raw Normal View History

2015-09-01 21:15:31 +08:00
# 基本用法
- order: 0
基本的时间轴。
---
````jsx
import { Timeline } from 'antd';
const container = document.getElementById('components-timeline-demo-basic');
2015-09-01 21:15:31 +08:00
2015-10-20 16:47:55 +08:00
ReactDOM.render(
2015-09-01 21:39:29 +08:00
<Timeline>
<Timeline.Item>创建服务现场 2015-09-01</Timeline.Item>
<Timeline.Item>初步排除网络异常 2015-09-01</Timeline.Item>
<Timeline.Item>技术测试异常 2015-09-01</Timeline.Item>
<Timeline.Item>网络异常正在修复 2015-09-01</Timeline.Item>
</Timeline>
2015-09-01 21:15:31 +08:00
, container);
````