@nokecy/qc-ui 0.9.8 → 1.0.0

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.
@@ -337,6 +337,9 @@ function AgGridPlus(props) {
337
337
  var columnDefs = !columnProps ? props.columnDefs ? props.columnDefs : [] : columnProps;
338
338
  columnDefs = columnDefs.map(function (col) {
339
339
  var dataType = getDataType(data, col.field);
340
+ if (typeof col.cellRenderer == "string") {
341
+ return _objectSpread({}, col);
342
+ }
340
343
  if (col.type || col.cellRenderer) {
341
344
  return _objectSpread(_objectSpread({}, col), {}, {
342
345
  customCellRenderer: col.cellRenderer,
@@ -328,6 +328,9 @@ function AgGridPlus(props) {
328
328
  var columnDefs = !columnProps ? props.columnDefs ? props.columnDefs : [] : columnProps;
329
329
  columnDefs = columnDefs.map(function (col) {
330
330
  var dataType = getDataType(data, col.field);
331
+ if (typeof col.cellRenderer == "string") {
332
+ return _objectSpread({}, col);
333
+ }
331
334
  if (col.type || col.cellRenderer) {
332
335
  return _objectSpread(_objectSpread({}, col), {}, {
333
336
  customCellRenderer: col.cellRenderer,