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>;
package/dist/cjs/index.js CHANGED
@@ -2020,7 +2020,7 @@ const MRT_TableBodyCell = ({ cell, enableHover, rowIndex, rowRef, table, }) => {
2020
2020
  ? muiTableBodyCellProps({ cell, column, row, table })
2021
2021
  : muiTableBodyCellProps;
2022
2022
  const mcTableCellBodyProps = columnDef.muiTableBodyCellProps instanceof Function
2023
- ? columnDef.muiTableBodyCellProps({ cell, table })
2023
+ ? columnDef.muiTableBodyCellProps({ cell, column, row, table })
2024
2024
  : columnDef.muiTableBodyCellProps;
2025
2025
  const tableCellProps = Object.assign(Object.assign({}, mTableCellBodyProps), mcTableCellBodyProps);
2026
2026
  const skeletonProps = muiTableBodyCellSkeletonProps instanceof Function