UNPKG

@mui/x-tree-view

Version:

The community edition of the MUI X Tree View components.

9 lines 341 B
import { createSelector } from '@mui/x-internals/store'; export const 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: createSelector(state => state.id.treeId) };