naive-ui/demo/documentation/components/popconfirm/enUS/index.demo-entry.md

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 ()