ant-design/components/timeline/demo/basic.md
afc163 753c01ae18 ES6 syntax for demo code
fix antd.notification
2015-10-28 20:55:49 +08:00

498 B

基本用法

  • order: 0

基本的时间轴。


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);