2016-03-31 09:40:55 +08:00
|
|
|
---
|
|
|
|
order: 0
|
2018-06-22 23:36:53 +08:00
|
|
|
title:
|
2016-07-04 10:49:04 +08:00
|
|
|
zh-CN: 基本用法
|
|
|
|
en-US: Basic
|
2016-03-31 09:40:55 +08:00
|
|
|
---
|
2015-09-01 21:15:31 +08:00
|
|
|
|
2016-07-04 10:49:04 +08:00
|
|
|
## zh-CN
|
|
|
|
|
2015-09-01 21:15:31 +08:00
|
|
|
基本的时间轴。
|
|
|
|
|
2018-06-22 23:36:53 +08:00
|
|
|
## en-US
|
2016-07-04 10:49:04 +08:00
|
|
|
|
|
|
|
Basic timeline.
|
|
|
|
|
2022-05-19 09:46:26 +08:00
|
|
|
```tsx
|
2015-10-28 20:55:49 +08:00
|
|
|
import { Timeline } from 'antd';
|
2022-05-21 22:14:15 +08:00
|
|
|
import React from 'react';
|
2015-09-01 21:15:31 +08:00
|
|
|
|
2022-05-19 09:46:26 +08:00
|
|
|
const App: React.FC = () => (
|
2016-04-29 12:13:27 +08:00
|
|
|
<Timeline>
|
2016-10-01 08:03:36 +08:00
|
|
|
<Timeline.Item>Create a services site 2015-09-01</Timeline.Item>
|
|
|
|
<Timeline.Item>Solve initial network problems 2015-09-01</Timeline.Item>
|
|
|
|
<Timeline.Item>Technical testing 2015-09-01</Timeline.Item>
|
|
|
|
<Timeline.Item>Network problems being solved 2015-09-01</Timeline.Item>
|
2022-04-03 23:27:45 +08:00
|
|
|
</Timeline>
|
2018-11-28 15:00:03 +08:00
|
|
|
);
|
2022-05-19 09:46:26 +08:00
|
|
|
|
|
|
|
export default App;
|
2019-05-07 14:57:32 +08:00
|
|
|
```
|