mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2024-12-27 05:00:48 +08:00
548 B
548 B
Popconfirm
A confirm, poped.
Demos
basic
custom-action
custom-icon
event
no-icon
Props
Name | Type | Default | Description |
---|---|---|---|
negative-text | string |
'Cancel' |
|
positive-text | string |
'Confirm' |
|
show-icon | boolean |
true |
|
on-positive-click | () => boolean | Promise<boolean> | any |
undefined |
|
on-negative-click | () => boolean | Promise<boolean> | any |
undefined |
For more props, see popover.
Slots
Name | Parameters | Description |
---|---|---|
action | () |
|
default | () |
|
icon | () |