UNPKG

@mui/x-tree-view

Version:

The community edition of the MUI X Tree View components.

21 lines 665 B
import { MinimalTreeViewStore } from "../MinimalTreeViewStore/index.js"; export interface TreeViewItemMeta { id: string; idAttribute: string | undefined; parentId: string | null; expandable: boolean; disabled: boolean; selectable: boolean; /** * Only defined for `<RichTreeView />` and `<RichTreeViewPro />`. */ depth?: number; /** * Only defined for `<RichTreeView />` and `<RichTreeViewPro />`. */ label?: string; } export interface TreeViewAnyStore extends MinimalTreeViewStore<any, any, any, any> { itemPluginManager: any; } export type TreeViewPublicAPI<TStore extends TreeViewAnyStore> = ReturnType<TStore['buildPublicAPI']>;