material-react-table 0.26.2 → 0.26.3

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.
@@ -3652,7 +3652,6 @@ var MRT_TableRoot = function MRT_TableRoot(props) {
3652
3652
  getSubRows: function getSubRows(row) {
3653
3653
  return row == null ? void 0 : row.subRows;
3654
3654
  },
3655
- //@ts-ignore
3656
3655
  globalFilterFn: (_MRT_FilterFns$curren = MRT_FilterFns[currentGlobalFilterFn]) != null ? _MRT_FilterFns$curren : MRT_FilterFns.fuzzy,
3657
3656
  initialState: initialState,
3658
3657
  state: _extends({
@@ -3688,6 +3687,9 @@ var MRT_TableRoot = function MRT_TableRoot(props) {
3688
3687
  setShowGlobalFilter: (_props$onShowGlobalFi = props.onShowGlobalFilterChange) != null ? _props$onShowGlobalFi : setShowGlobalFilter
3689
3688
  });
3690
3689
 
3690
+ useEffect(function () {
3691
+ return props == null ? void 0 : props.onTableInstanceChange == null ? void 0 : props.onTableInstanceChange(table);
3692
+ }, [table]);
3691
3693
  return React.createElement(React.Fragment, null, React.createElement(Dialog, {
3692
3694
  PaperComponent: Box,
3693
3695
  TransitionComponent: Grow,