docs(divider)

This commit is contained in:
07akioni 2021-06-05 23:34:38 +08:00
parent 56e84f1120
commit efba9aae66
6 changed files with 20 additions and 20 deletions

View File

@ -1,7 +1,7 @@
# Basic
```html
I love her.
Oops
<n-divider />
She loves him.
Oops
```

View File

@ -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
```

View File

@ -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...
```

View File

@ -1,7 +1,7 @@
# 基础
```html
我爱她。
<n-divider />
她爱他。
```

View File

@ -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>
```

View File

@ -1,5 +1,5 @@
# 垂直
```html
<n-divider vertical />团圆<n-divider vertical />结局
这个<n-divider vertical />看起来<n-divider vertical />好像不是很显眼,额...
```