Kaizen
Browse modulesData tabledatatable/sharedTypes

Type Alias: LinkAction<TRow>

type LinkAction<TRow> = {
  href: (row: TRow) => string;
  icon?: LucideIcon;
  label: string;
  visible?: (row: TRow) => boolean;
};

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

Type Parameters

Type Parameter
TRow

Properties

href

href: (row: TRow) => string;

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

Parameters

ParameterType
rowTRow

Returns

string


icon?

optional icon?: LucideIcon;

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


label

label: string;

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


visible?

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

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

Parameters

ParameterType
rowTRow

Returns

boolean

On this page