Kaizen
Browse modulesData tabledatatable/sharedTypes

Type Alias: DialogActionConfig<TRow, TDialogKey *extends* `string`>

type DialogActionConfig<TRow, TDialogKey extends string> = {
  dialog: TDialogKey;
  icon?: LucideIcon;
  label: string;
  variant?: "destructive";
  visible?: (row: TRow) => boolean;
};

Defined in: shared/datatable/types.ts:260

Type Parameters

Type Parameter
TRow
TDialogKey extends string

Properties

dialog

dialog: TDialogKey;

Defined in: shared/datatable/types.ts:263


icon?

optional icon?: LucideIcon;

Defined in: shared/datatable/types.ts:262


label

label: string;

Defined in: shared/datatable/types.ts:261


variant?

optional variant?: "destructive";

Defined in: shared/datatable/types.ts:264


visible?

optional visible?: (row: TRow) => boolean;

Defined in: shared/datatable/types.ts:265

Parameters

ParameterType
rowTRow

Returns

boolean

On this page