UNPKG

@mui/x-tree-view

Version:

The community edition of the MUI X Tree View components.

17 lines 685 B
import * as React from 'react'; export declare const TreeViewChildrenItemContext: React.Context<TreeViewChildrenItemContextValue | null>; interface TreeViewChildrenItemProviderProps { itemId: string | null; idAttribute: string | null; children: React.ReactNode; } export declare function TreeViewChildrenItemProvider(props: TreeViewChildrenItemProviderProps): import("react/jsx-runtime").JSX.Element; export declare namespace TreeViewChildrenItemProvider { var propTypes: any; } interface TreeViewChildrenItemContextValue { registerChild: (idAttribute: string, itemId: string) => void; unregisterChild: (idAttribute: string) => void; parentId: string | null; } export {};