Interface: Column\<T>¶
Defined in: src/components/tables/DataTable.tsx:47
Column definition for DataTable
Type Parameters¶
T¶
T
Properties¶
header¶
header:
string
Defined in: src/components/tables/DataTable.tsx:49
Column header text
render¶
render: (
row) =>ReactNode
Defined in: src/components/tables/DataTable.tsx:58
Render function for cell content.
Return plain text (string/number) or a simple component (Badge, FormattedDate, ActiveStatusBadge, etc.). Do NOT wrap output in Text or other typography components — cells are already styled via BodyTextInline.
Parameters¶
row¶
T
Returns¶
ReactNode
width?¶
optionalwidth?:string
Defined in: src/components/tables/DataTable.tsx:60
Optional: custom width