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.

22 lines
490 B

9 years ago
# 基本用法
- order: 0
基本的时间轴。
---
````jsx
9 years ago
let Timeline = antd.Timeline;
let container = document.getElementById('components-timeline-demo-basic');
9 years ago
9 years ago
React.render(
<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>
9 years ago
, container);
````