Skip to content

frontend


Interface: Column\<T>

Defined in: src/components/tables/DataTable.tsx:35

Column definition for DataTable

Type Parameters

T

T

Properties

header: string

Defined in: src/components/tables/DataTable.tsx:37

Column header text


render

render: (row) => ReactNode

Defined in: src/components/tables/DataTable.tsx:46

Render function for cell content.

Return plain text (string/number) or a simple component (Badge, FormattedDate, ActiveStatus, etc.). Do NOT wrap output in Text or other typography components — cells are already styled via BodyTextBlack.

Parameters

row

T

Returns

ReactNode


width?

optional width?: string

Defined in: src/components/tables/DataTable.tsx:48

Optional: custom width