How to use with a HOC
I am trying to create a HOC for the following Table:
When I pass columns with
But when I pass the same columns to the HOC, the
When I pass columns with
ColumnDef<Entity>[] to the DataGrid directly, it correctly passes the Entity type:But when I pass the same columns to the HOC, the
TData type is unknown.