lib/TdClassNames.js
function minMaxClassName(cellData, _ref) {
  var columnSummary = _ref.columnSummary;
  var column = _ref.column;
  var rowData = _ref.rowData;

  var sortValue = Utils.getSortValueFromCellData(cellData, column, rowData);
  if (sortValue === columnSummary.min) {
    return 'highlight-min-max highlight-min';
  } else if (sortValue === columnSummary.max) {
    return 'highlight-min-max highlight-max';
  }

  return undefined;
}
function minMaxClassName(cellData, _ref) {
  var columnSummary = _ref.columnSummary;
  var column = _ref.column;
  var rowData = _ref.rowData;

  var sortValue = Utils.getSortValueFromCellData(cellData, column, rowData);
  if (sortValue === columnSummary.min) {
    return 'highlight-min-max highlight-min';
  } else if (sortValue === columnSummary.max) {
    return 'highlight-min-max highlight-max';
  }

  return undefined;
}
function minMaxClassName ( cellData , _ref ) { var columnSummary = _ref . columnSummary ; var column = _ref . column ; var rowData = _ref . rowData ; var sortValue = Utils . getSortValueFromCellData ( cellData , column , rowData ) ; if ( sortValue === columnSummary . min ) { return 'highlight-min-max highlight-min' ; } else if ( sortValue === columnSummary . max ) { return 'highlight-min-max highlight-max' ; } return undefined ; }
Adds `highlight-min-max` and one of `highlight-min`, `highlight-max` to the
cells that match min and max in the summary

@param {Any} cellData the data for the cell
@param {Object} props Additional props for the cell
@param {Object} props.columnSummary The column summary
@param {Object} props.column The column definition
@param {Array} props.rowData the data for the row

@return {String} classnames
Adds highlight - min - max and one of highlight - min highlight - max to the cells that match min and max in the summary