mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2025-01-06 12:17:13 +08:00
docs(divider)
This commit is contained in:
parent
56e84f1120
commit
efba9aae66
@ -1,7 +1,7 @@
|
||||
# Basic
|
||||
|
||||
```html
|
||||
I love her.
|
||||
Oops
|
||||
<n-divider />
|
||||
She loves him.
|
||||
Oops
|
||||
```
|
||||
|
@ -1,11 +1,11 @@
|
||||
# Title
|
||||
|
||||
```html
|
||||
I love her.
|
||||
<n-divider title-placement="left"> A Happy Ending </n-divider>
|
||||
She loves him.
|
||||
<n-divider title-placement="right"> A Happy Ending </n-divider>
|
||||
He loves me.
|
||||
<n-divider dashed> A Happy Ending </n-divider>
|
||||
Oops.
|
||||
Oops
|
||||
<n-divider title-placement="left">Left</n-divider>
|
||||
Oops
|
||||
<n-divider title-placement="right">Right</n-divider>
|
||||
Oops
|
||||
<n-divider dashed>Dashed</n-divider>
|
||||
Oops
|
||||
```
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Vertical
|
||||
|
||||
```html
|
||||
A<n-divider vertical />Happy<n-divider vertical />Ending
|
||||
It is<n-divider vertical />not clear<n-divider vertical />to see, emmm...
|
||||
```
|
||||
|
@ -1,7 +1,7 @@
|
||||
# 基础
|
||||
|
||||
```html
|
||||
我爱她。
|
||||
啊
|
||||
<n-divider />
|
||||
她爱他。
|
||||
啊
|
||||
```
|
||||
|
@ -1,11 +1,11 @@
|
||||
# 标题
|
||||
|
||||
```html
|
||||
我爱她。
|
||||
<n-divider title-placement="left"> 大团圆结局 </n-divider>
|
||||
她爱他。
|
||||
<n-divider title-placement="right"> 大团圆结局 </n-divider>
|
||||
他爱我。
|
||||
<n-divider dashed> 大团圆结局 </n-divider>
|
||||
完了。
|
||||
啊
|
||||
<n-divider title-placement="left">左</n-divider>
|
||||
啊
|
||||
<n-divider title-placement="right">右</n-divider>
|
||||
啊
|
||||
<n-divider dashed>虚线</n-divider>
|
||||
啊
|
||||
```
|
||||
|
@ -1,5 +1,5 @@
|
||||
# 垂直
|
||||
|
||||
```html
|
||||
大<n-divider vertical />团圆<n-divider vertical />结局
|
||||
这个<n-divider vertical />看起来<n-divider vertical />好像不是很显眼,额...
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user