UNPKG

@mui/x-tree-view

Version:

The community edition of the MUI X Tree View components.

8 lines 574 B
import * as React from 'react'; import { TreeViewDefaultItemModelProperties, TreeViewValidItem } from "../models/index.js"; import { TreeViewPublicAPI } from "../internals/models/index.js"; import { SimpleTreeViewPluginSignatures } from "../SimpleTreeView/SimpleTreeView.plugins.js"; /** * Creates the ref to pass to the `apiRef` prop of the `SimpleTreeView` component. */ export declare function useSimpleTreeViewApiRef<R extends TreeViewValidItem<R> = TreeViewDefaultItemModelProperties>(): React.RefObject<TreeViewPublicAPI<SimpleTreeViewPluginSignatures> | undefined>;