ant-design/components/divider/demo/vertical.md

29 lines
396 B
Markdown
Raw Normal View History

---
order: 3
title:
zh-CN: 垂直分割线
en-US: Vertical
---
## zh-CN
使用 `type="vertical"` 设置为行内的垂直分割线。
## en-US
Use `type="vertical"` make it vertical.
2019-05-07 14:57:32 +08:00
```jsx
import { Divider } from 'antd';
export default () => (
<>
Text
<Divider type="vertical" />
<a href="#">Link</a>
<Divider type="vertical" />
<a href="#">Link</a>
</>
2018-11-28 15:00:03 +08:00
);
2019-05-07 14:57:32 +08:00
```