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.
@@ -2652,6 +2652,8 @@ var MRT_TableHeadCell = function MRT_TableHeadCell(_ref) {
2652
2652
  cursor: column.getCanSort() && columnDefType !== 'group' ? 'pointer' : undefined,
2653
2653
  display: 'flex',
2654
2654
  flexWrap: 'nowrap',
2655
+ m: (tableCellProps == null ? void 0 : tableCellProps.align) === 'center' ? 'auto' : undefined,
2656
+ pl: (tableCellProps == null ? void 0 : tableCellProps.align) === 'center' ? '1rem' : undefined,
2655
2657
  whiteSpace: ((_columnDef$header$len = (_columnDef$header = columnDef.header) == null ? void 0 : _columnDef$header.length) != null ? _columnDef$header$len : 0) < 24 ? 'nowrap' : 'normal'
2656
2658
  }
2657
2659
  }, headerElement, column.getCanSort() && React.createElement(MRT_TableHeadCellSortLabel, {