material-react-table 0.26.1 → 0.26.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -2659,6 +2659,8 @@ var MRT_TableHeadCell = function MRT_TableHeadCell(_ref) {
2659
2659
  cursor: column.getCanSort() && columnDefType !== 'group' ? 'pointer' : undefined,
2660
2660
  display: 'flex',
2661
2661
  flexWrap: 'nowrap',
2662
+ m: (tableCellProps == null ? void 0 : tableCellProps.align) === 'center' ? 'auto' : undefined,
2663
+ pl: (tableCellProps == null ? void 0 : tableCellProps.align) === 'center' ? '1rem' : undefined,
2662
2664
  whiteSpace: ((_columnDef$header$len = (_columnDef$header = columnDef.header) == null ? void 0 : _columnDef$header.length) != null ? _columnDef$header$len : 0) < 24 ? 'nowrap' : 'normal'
2663
2665
  }
2664
2666
  }, headerElement, column.getCanSort() && React__default.createElement(MRT_TableHeadCellSortLabel, {