UNPKG

@mui/x-tree-view

Version:

The community edition of the MUI X Tree View components.

8 lines 552 B
import * as React from 'react'; import { TreeViewDefaultItemModelProperties, TreeViewValidItem } from "../models/index.js"; import { TreeViewPublicAPI } from "../internals/models/index.js"; import { RichTreeViewStore } from "../internals/RichTreeViewStore/index.js"; /** * 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>;