DialogOptions
Configuration object for `showDialog`.
DialogOptions
Configuration object for showDialog.
Properties
title?
title?: string | undefinedOptional heading rendered at the top.
content
content: stringBody copy. Rich HTML is not supported.
confirmText?
confirmText?: string | undefinedLabel for the primary button (default "OK").
cancelText?
cancelText?: string | undefinedLabel for the secondary button. If omitted, only one button is shown.
onConfirm?
onConfirm?: (() => void) | undefinedInvoked after the dialog closes via the primary button.
onCancel?
onCancel?: (() => void) | undefinedInvoked after the dialog closes via the secondary button or overlay.