ant-design/components/space/demo/split.md

30 lines
466 B
Markdown
Raw Normal View History

---
order: 99
title:
zh-CN: 分隔符
en-US: Split
---
## zh-CN
相邻组件分隔符。
## en-US
Crowded components split.
```tsx
2022-05-23 14:37:16 +08:00
import { Divider, Space, Typography } from 'antd';
import React from 'react';
const App: React.FC = () => (
2022-04-28 20:54:19 +08:00
<Space split={<Divider type="vertical" />}>
<Typography.Link>Link</Typography.Link>
<Typography.Link>Link</Typography.Link>
<Typography.Link>Link</Typography.Link>
</Space>
);
2022-04-28 20:54:19 +08:00
export default App;
```