---
order: 5
title:
zh-CN: 标签
en-US: Label
---
## zh-CN
使用 `label` 标签单独展示时间。
## en-US
Use `label` show time alone.
```tsx
import React, { useState } from 'react';
import { Timeline, Radio } from 'antd';
import type { RadioChangeEvent } from 'antd';
const App: React.FC = () => {
const [mode, setMode] = useState<'left' | 'alternate' | 'right'>('left');
const onChange = (e: RadioChangeEvent) => {
setMode(e.target.value);
};
return (
<>
Left
Right
Alternate
Create a services
Solve initial network problems
Technical testing
Network problems being solved
>
);
};
export default App;
```