mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-29 20:08:37 +08:00
753c01ae18
fix antd.notification
22 lines
498 B
Markdown
22 lines
498 B
Markdown
# 基本用法
|
|
|
|
- order: 0
|
|
|
|
基本的时间轴。
|
|
|
|
---
|
|
|
|
````jsx
|
|
import { Timeline } from 'antd';
|
|
const container = document.getElementById('components-timeline-demo-basic');
|
|
|
|
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>
|
|
, container);
|
|
````
|