Documentation

@kanunilabs/datagrid-react


@kanunilabs/datagrid-react / GridDialogProps

Interface: GridDialogProps

Properties

cancelLabel?

optional cancelLabel?: string

Omitted for an acknowledgement dialog, which gets only the confirm button.


confirmLabel

confirmLabel: string


danger?

optional danger?: boolean

Styles the confirm button as destructive.


dark?

optional dark?: boolean


message

message: string


onCancel

onCancel: () => void

Returns

void


onConfirm

onConfirm: () => void

Returns

void


open

open: boolean


title

title: string