Interface: ConfirmOptions
Defined in: packages/sdk/src/ui-service.ts:92
Options for UiService.confirm — a host-rendered yes/no dialog. Always dismissible (Escape and backdrop-click both resolve to false, the safe choice). Set danger for destructive actions.
Properties
title
ts
title: string;Defined in: packages/sdk/src/ui-service.ts:94
The dialog's heading.
body?
ts
optional body?: string;Defined in: packages/sdk/src/ui-service.ts:96
Optional explanatory line beneath the title.
confirmLabel?
ts
optional confirmLabel?: string;Defined in: packages/sdk/src/ui-service.ts:98
Label for the confirm button. Default "OK".
cancelLabel?
ts
optional cancelLabel?: string;Defined in: packages/sdk/src/ui-service.ts:100
Label for the cancel button. Default "Cancel".
danger?
ts
optional danger?: boolean;Defined in: packages/sdk/src/ui-service.ts:102
Style the confirm button as destructive (.silo-button-danger).