Skip to content

@gtkx/react / AlertDialogResponseProps

Type Alias: AlertDialogResponseProps

AlertDialogResponseProps = object

Defined in: packages/react/src/jsx.ts:572

Props for response buttons in an AdwAlertDialog.

Each response represents a button the user can click to dismiss the dialog.

Used by AdwAlertDialog.Response compound component.

Properties

appearance?

optional appearance?: Adw.ResponseAppearance

Defined in: packages/react/src/jsx.ts:578

Visual appearance of the response button


enabled?

optional enabled?: boolean

Defined in: packages/react/src/jsx.ts:580

Whether the response button is enabled


id

id: string

Defined in: packages/react/src/jsx.ts:574

Unique response ID (used in response signal and for default/close response)


label

label: string

Defined in: packages/react/src/jsx.ts:576

Button label text