@mui/x-tree-view
Version:
The community edition of the MUI X Tree View components.
17 lines • 663 B
TypeScript
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): React.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 {};