docs(dropdown)

This commit is contained in:
07akioni 2021-06-05 22:46:01 +08:00
parent 6b35bd2562
commit 15a440dd06
4 changed files with 4 additions and 8 deletions

View File

@ -4,9 +4,7 @@ Basic usage of dropdown
```html
<n-dropdown trigger="hover" @select="handleSelect" :options="options">
<n-button :keyboard="false"
>Money Force Us to Work Rather Than Sleep</n-button
>
<n-button :keyboard="false"> Go For a Trip </n-button>
</n-dropdown>
```

View File

@ -9,9 +9,7 @@ Use different placement.
placement="bottom-start"
:options="options"
>
<n-button :keyboard="false"
>Money Force Us to Work Rather Than Sleep</n-button
>
<n-button :keyboard="false">Go For a Trip</n-button>
</n-dropdown>
```

View File

@ -4,7 +4,7 @@
```html
<n-dropdown trigger="hover" @select="handleSelect" :options="options">
<n-button :keyboard="false">金钱所迫,起床工作</n-button>
<n-button :keyboard="false">找个地方休息</n-button>
</n-dropdown>
```

View File

@ -9,7 +9,7 @@
placement="bottom-start"
:options="options"
>
<n-button :keyboard="false">金钱所迫,起床工作</n-button>
<n-button :keyboard="false"> 找个地方休息 </n-button>
</n-dropdown>
```