material-react-table 1.0.0-beta.11 → 1.0.0-beta.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -276,9 +276,11 @@ export declare type MRT_ColumnDef<TData extends Record<string, any> = {}> = Omit
276
276
  row: MRT_Row<TData>;
277
277
  table: MRT_TableInstance<TData>;
278
278
  }) => TextFieldProps);
279
- muiTableBodyCellProps?: TableCellProps | (({ cell, table, }: {
280
- table: MRT_TableInstance<TData>;
279
+ muiTableBodyCellProps?: TableCellProps | (({ cell, column, row, table, }: {
281
280
  cell: MRT_Cell<TData>;
281
+ column: MRT_Column<TData>;
282
+ row: MRT_Row<TData>;
283
+ table: MRT_TableInstance<TData>;
282
284
  }) => TableCellProps);
283
285
  muiTableFooterCellProps?: TableCellProps | (({ table, column, }: {
284
286
  table: MRT_TableInstance<TData>;
@@ -2012,7 +2012,7 @@ const MRT_TableBodyCell = ({ cell, enableHover, rowIndex, rowRef, table, }) => {
2012
2012
  ? muiTableBodyCellProps({ cell, column, row, table })
2013
2013
  : muiTableBodyCellProps;
2014
2014
  const mcTableCellBodyProps = columnDef.muiTableBodyCellProps instanceof Function
2015
- ? columnDef.muiTableBodyCellProps({ cell, table })
2015
+ ? columnDef.muiTableBodyCellProps({ cell, column, row, table })
2016
2016
  : columnDef.muiTableBodyCellProps;
2017
2017
  const tableCellProps = Object.assign(Object.assign({}, mTableCellBodyProps), mcTableCellBodyProps);
2018
2018
  const skeletonProps = muiTableBodyCellSkeletonProps instanceof Function