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
482 B
31 lines
482 B
4 years ago
|
---
|
||
|
order: 99
|
||
|
title:
|
||
|
zh-CN: 分隔符
|
||
|
en-US: Split
|
||
|
---
|
||
|
|
||
|
## zh-CN
|
||
|
|
||
|
相邻组件分隔符。
|
||
|
|
||
|
## en-US
|
||
|
|
||
|
Crowded components split.
|
||
|
|
||
|
```jsx
|
||
|
import { Space, Typography, Divider } from 'antd';
|
||
|
|
||
|
function SpaceSplit() {
|
||
|
return (
|
||
|
<Space split={<Divider type="vertical" />}>
|
||
|
<Typography.Link>Link</Typography.Link>
|
||
|
<Typography.Link>Link</Typography.Link>
|
||
|
<Typography.Link>Link</Typography.Link>
|
||
|
</Space>
|
||
|
);
|
||
|
}
|
||
|
|
||
|
ReactDOM.render(<SpaceSplit />, mountNode);
|
||
|
```
|