@atlaskit/table-tree
Version:
A table tree is an expandable table for showing nested hierarchies of information.
12 lines • 420 B
JavaScript
import { createContext } from '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
*/
export var TableTreeContext = /*#__PURE__*/createContext({
setColumnWidth: function setColumnWidth() {},
getColumnWidth: function getColumnWidth() {
return null;
}
});