ant-design-vue/components/divider/demo/horizontal.md

36 lines
1.0 KiB
Markdown
Raw Normal View History

2018-01-30 10:22:41 +00:00
<cn>
#### 水平分割线
默认为水平分割线,可在中间加入文字。
</cn>
<us>
#### Horizontal
Divider default type is `horizontal`. Support inner text inside Divider.
</us>
2019-10-09 10:32:23 +00:00
```tpl
2018-01-30 10:22:41 +00:00
<template>
<div>
2019-09-28 12:45:07 +00:00
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed nonne merninisti licere mihi ista
probare, quae sunt a te dicta? Refert tamen, quo modo.
</p>
2018-01-30 10:22:41 +00:00
<a-divider />
2019-09-28 12:45:07 +00:00
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed nonne merninisti licere mihi ista
probare, quae sunt a te dicta? Refert tamen, quo modo.
</p>
2018-01-30 10:22:41 +00:00
<a-divider>With Text</a-divider>
2019-09-28 12:45:07 +00:00
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed nonne merninisti licere mihi ista
probare, quae sunt a te dicta? Refert tamen, quo modo.
</p>
2018-01-30 10:22:41 +00:00
<a-divider dashed />
2019-09-28 12:45:07 +00:00
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed nonne merninisti licere mihi ista
probare, quae sunt a te dicta? Refert tamen, quo modo.
</p>
2018-01-30 10:22:41 +00:00
</div>
</template>
```