@mui/x-tree-view
Version:
The community edition of the MUI X Tree View components.
10 lines • 444 B
TypeScript
import { UseTreeViewIdSignature } from "./useTreeViewId.types.js";
import { TreeViewState } from "../../models/index.js";
export declare 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: (state: TreeViewState<[UseTreeViewIdSignature]>) => string | undefined;
};