Skip to main content

ConfirmParams

ConfirmParams = object

Properties

dangerous?

optional dangerous?: boolean

When true, the dialog renders in red/danger style (destructive actions like delete). When false or omitted, the dialog renders in primary color (neutral confirmations).


guardMessage?

optional guardMessage?: string

The message to display in the dialog as a warning that action is irreversible


message?

optional message?: string

The message to display in the dialog


messageHtml?

optional messageHtml?: string

Message to display in the dialog as HTML (can be used instead of message)


no?

optional no?: string

The text to display in the "cancel" button


title?

optional title?: string

The title to display in the dialog


yes?

optional yes?: string

The text to display in the "accept" button