Documentation

@kanunilabs/datagrid


@kanunilabs/datagrid / ConfirmDialogSpec

Interface: ConfirmDialogSpec

Properties

anchor?

optional anchor?: Element

An element inside the grid, so the dialog follows the grid's portalContainer (core portalContainerFor). Default: <body>.


cancelLabel?

optional cancelLabel?: string

Omitted for an acknowledgement dialog, which gets only confirm.


confirmLabel

confirmLabel: string


danger?

optional danger?: boolean

Styles the confirm button as destructive.


message

message: string


surfaceClass?

optional surfaceClass?: string

The enterprise wrapper's theme/dark classes, re-established here.


title

title: string