@mui/x-tree-view
Version:
The community edition of the MUI X Tree View components.
8 lines • 555 B
text/typescript
import * as React from 'react';
import { TreeViewDefaultItemModelProperties, TreeViewValidItem } from "../models/index.mjs";
import { TreeViewPublicAPI } from "../internals/models/index.mjs";
import { RichTreeViewStore } from "../internals/RichTreeViewStore/index.mjs";
/**
* Creates the ref to pass to the `apiRef` prop of the `RichTreeView` component.
*/
export declare function useRichTreeViewApiRef<R extends TreeViewValidItem<R> = TreeViewDefaultItemModelProperties>(): React.RefObject<TreeViewPublicAPI<RichTreeViewStore<R, boolean>> | undefined>;