OptionalcancelOptionalconfirmLabel for the confirm button. Defaults to "OK".
OptionalcontainerDOM container the dialog mounts into. Defaults to
document.body. Same convention as
LoaderProgressDialog.
Body message. Required. Plain text is rendered safely via
textContent; if the caller needs inline markup they can
supply a pre-built HTMLElement instead.
OptionaltitleHeader text. Defaults to "Confirm".
OptionalvariantVisual variant for the confirm button. "danger" paints it
red so destructive actions read as such; "default" uses the
studio accent blue. Defaults to "default".
Label for the cancel button. Defaults to "Cancel".