mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-25 16:58:00 +08:00
21 lines
421 B
Markdown
21 lines
421 B
Markdown
# 基本用法
|
|
|
|
- order: 0
|
|
|
|
基本的时间轴。
|
|
|
|
---
|
|
|
|
````jsx
|
|
import { Timeline } from 'antd';
|
|
|
|
ReactDOM.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>
|
|
, mountNode);
|
|
````
|