mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2024-12-21 04:50:14 +08:00
chore
This commit is contained in:
parent
cf0881fb34
commit
6c7715ef16
@ -1,25 +1,27 @@
|
||||
# Custom Action
|
||||
```html
|
||||
<n-popconfirm v-model:show="show">
|
||||
<template v-slot:trigger>
|
||||
<n-button>Quote</n-button>
|
||||
</template>
|
||||
For example, if I were to write about elephants, I’d have had no idea what words to use.
|
||||
<template v-slot:action>
|
||||
<n-button
|
||||
size="small"
|
||||
@click="show = false"
|
||||
>
|
||||
Maybe
|
||||
</n-button>
|
||||
</template>
|
||||
</n-popconfirm>
|
||||
<n-popconfirm positive-text="Oops!">
|
||||
<template v-slot:trigger>
|
||||
<n-button>Quote</n-button>
|
||||
</template>
|
||||
For example, if I were to write about elephants, I’d have had no idea what words to use.
|
||||
</n-popconfirm>
|
||||
<n-space>
|
||||
<n-popconfirm v-model:show="show">
|
||||
<template v-slot:trigger>
|
||||
<n-button>Quote</n-button>
|
||||
</template>
|
||||
For example, if I were to write about elephants, I’d have had no idea what words to use.
|
||||
<template v-slot:action>
|
||||
<n-button
|
||||
size="small"
|
||||
@click="show = false"
|
||||
>
|
||||
Maybe
|
||||
</n-button>
|
||||
</template>
|
||||
</n-popconfirm>
|
||||
<n-popconfirm positive-text="Oops!">
|
||||
<template v-slot:trigger>
|
||||
<n-button>Quote</n-button>
|
||||
</template>
|
||||
For example, if I were to write about elephants, I’d have had no idea what words to use.
|
||||
</n-popconfirm>
|
||||
</n-space>
|
||||
```
|
||||
|
||||
```js
|
||||
|
Loading…
Reference in New Issue
Block a user