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.

31 lines
561 B

---
order: 0
title:
zh-CN: 基本用法
en-US: Basic
---
9 years ago
## zh-CN
9 years ago
基本的时间轴。
## en-US
Basic timeline.
```tsx
import { Timeline } from 'antd';
import React from 'react';
9 years ago
const App: React.FC = () => (
<Timeline>
<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>
</Timeline>
);
export default App;
```