forgeplus-react/node_modules/react-virtualized/dist/es/Table/defaultCellRenderer.js

14 lines
404 B
JavaScript

/**
* Default cell renderer that displays an attribute as a simple string
* You should override the column's cellRenderer if your data is some other type of object.
*/
export default function defaultCellRenderer(_ref) {
var cellData = _ref.cellData;
if (cellData == null) {
return '';
} else {
return String(cellData);
}
}
import { bpfrpt_proptype_CellRendererParams } from "./types";