Skip to content

pivotick v3.0.0


pivotick / InterractionCallbacks / ConfirmOptions

Interface: ConfirmOptions ​

Defined in: interfaces/InterractionCallbacks.ts:462

Options for the confirmation modal handed to DeleteContext.confirm.

Properties ​

body? ​

optional body: string | HTMLElement

Defined in: interfaces/InterractionCallbacks.ts:466

Body copy. A string renders as plain text; pass an element to render HTML.


cancelLabel? ​

optional cancelLabel: string

Defined in: interfaces/InterractionCallbacks.ts:470

Cancel button label.

Default ​

ts
'Cancel'

confirmLabel? ​

optional confirmLabel: string

Defined in: interfaces/InterractionCallbacks.ts:468

Confirm button label.

Default ​

ts
'Confirm'

title? ​

optional title: string

Defined in: interfaces/InterractionCallbacks.ts:464

Modal header.

Default ​

ts
'Confirm'

variant? ​

optional variant: "danger" | "primary"

Defined in: interfaces/InterractionCallbacks.ts:472

Confirm button styling.

Default ​

ts
'danger'