Skip to content

TableRow

type TableRow<TData extends TableData = TableData> = TData & BaseRow<TData>;

Utility type that can be used to define your own table row type. Adds supported fields like subRows to your own data type.

Type Parameter Default type
TData extends TableData TableData
type Row = TableRow<{ id: string; name: string; age: number }>;