@bento-core/table 1.0.1-ins.14 → 1.0.1-ins.15

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.
@@ -82,7 +82,7 @@ const DisplayCell = _ref3 => {
82
82
  column
83
83
  } = _ref3;
84
84
  return /*#__PURE__*/_react.default.createElement(_core.TableCell, {
85
- className: column.dataField
85
+ className: column.className
86
86
  }, /*#__PURE__*/_react.default.createElement(ViewCell, {
87
87
  row: row,
88
88
  column: column
@@ -69,7 +69,7 @@ const ManageColumnView = _ref => {
69
69
  }), column.icon && /*#__PURE__*/_react.default.createElement("img", {
70
70
  src: column.icon,
71
71
  alt: column.header,
72
- className: column.className
72
+ className: column.dataField
73
73
  }), /*#__PURE__*/_react.default.createElement(_core.Typography, null, column.header))))));
74
74
  };
75
75
  const styles = () => ({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bento-core/table",
3
- "version": "1.0.1-ins.14",
3
+ "version": "1.0.1-ins.15",
4
4
  "main": "dist/index.js",
5
5
  "scripts": {
6
6
  "build": "npm run lint && cross-env-shell rm -rf dist && NODE_ENV=production BABEL_ENV=es babel src --out-dir dist --copy-files",
@@ -82,7 +82,7 @@ const DisplayCell = ({
82
82
  row,
83
83
  column,
84
84
  }) => (
85
- <TableCell className={column.dataField}>
85
+ <TableCell className={column.className}>
86
86
  <ViewCell
87
87
  row={row}
88
88
  column={column}
@@ -89,7 +89,7 @@ const ManageColumnView = ({
89
89
  className="checkBox"
90
90
  />
91
91
  {column.icon && (
92
- <img src={column.icon} alt={column.header} className={column.className} />
92
+ <img src={column.icon} alt={column.header} className={column.dataField} />
93
93
  )}
94
94
  <Typography>{column.header}</Typography>
95
95
  </ListItem>