@mui/x-tree-view
Version:
The community edition of the MUI X Tree View components.
15 lines (14 loc) • 469 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.idSelectors = void 0;
var _store = require("@mui/x-internals/store");
const idSelectors = exports.idSelectors = {
/**
* Get the id attribute of the tree view.
* @param {TreeViewState<[UseTreeViewIdSignature]>} state The state of the tree view.
* @returns {string} The id attribute of the tree view.
*/
treeId: (0, _store.createSelector)(state => state.id.treeId)
};