terra-clinical-data-grid
Version:
An organizational component that renders a collection of data in a grid-like format.
27 lines (26 loc) • 886 B
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _propTypes = _interopRequireDefault(require("prop-types"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
var cellDataShape = _propTypes.default.shape({
/**
* A column identifier for the cell. This identifier should be unique across the set of cells provided to a given row.
*/
columnId: _propTypes.default.string.isRequired,
/**
* A boolean indicating whether or not the cell is selectable.
*/
isSelectable: _propTypes.default.bool,
/**
* A boolean indicating whether or not the cell should render as selected.
*/
isSelected: _propTypes.default.bool,
/**
* A component to render within the cell.
*/
component: _propTypes.default.node
});
var _default = exports.default = cellDataShape;