Skip to content

TreeItemProvider API

API reference docs for the React TreeItemProvider component. Learn about the props, CSS, and other APIs of this exported module.

Demos

Import

import { TreeItemProvider } from '@mui/x-tree-view/TreeItemProvider';
// or
import { TreeItemProvider } from '@mui/x-tree-view';
// or
import { TreeItemProvider } from '@mui/x-tree-view-pro';

Learn about the difference by reading this guide on minimizing bundle size.

Props

NameTypeDescription
The component cannot hold a ref.

Source code

If you did not find the information in this page, consider having a look at the implementation of the component for more detail.