Elements

Components

Popconfirm

A question at the point of no return: the trigger opens a small anchored vessel carrying the message and two answers. Confirmation and cancellation are the caller's to act on — the panel closes either way. The default slot is the trigger; give it a single element (wrap a group in a span otherwise).

#Basic usage

popconfirm/basic Vue React

#Props

#Popconfirm

A question at the point of no return: the trigger opens a small anchored vessel carrying the message and two answers. Confirmation and cancellation are the caller's to act on — the panel closes either way. The default slot is the trigger; give it a single element (wrap a group in a span otherwise).

PropTypeDefaultDescription
messageStringThe question the reader is answering.
confirmTextString"Confirm"—
cancelTextString"Cancel"—