@atlaskit/table-tree
Version:
A table tree is an expandable table for showing nested hierarchies of information.
18 lines (17 loc) • 559 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.TableTreeContext = void 0;
var _react = require("react");
/**
*
* Context provider which maintains the column widths and access methods for use in descendent table cells
* Enables composed table-tree implementations to e.g. set width on header cells only
*/
var TableTreeContext = exports.TableTreeContext = /*#__PURE__*/(0, _react.createContext)({
setColumnWidth: function setColumnWidth() {},
getColumnWidth: function getColumnWidth() {
return null;
}
});