Package-level declarations
Types
The owner state handed to the item slot's props resolver.
The owner state of the loading slot.
The props of the loading slot: the div props plus the two the loading UI reads (SlotComponentProps<'div', RichTreeViewLoadingSlotOwnProps, …> upstream).
The API of RichTreeViewStore: everything of TreeViewPublicAPI plus label editing and imperative item updates.
The item model of a SimpleTreeView (SimpleTreeViewItem of internals/SimpleTreeViewStore).
The props of a slot: a props object, or a function of the slot's owner state that returns one (SlotComponentProps<Component, Overrides, OwnerState> from @mui/utils/types).
The data-* attributes useTreeItem puts on the item's content element while the matching status is on (data-expanded="", …), for attribute selectors in styles and DOM queries.
The CSS custom properties the Tree View sets at runtime, for styles that need to read them: the root carries itemChildrenIndentation (useTreeViewRootProps), every item root carries itemDepth and, when the itemHeight prop is set, itemHeight (useTreeItem). Nothing in the package declares them, so they are listed here.
The object apiRef points at once the Tree View has rendered: the API of MinimalTreeViewStore, shared by SimpleTreeView and RichTreeView (TreeViewPublicAPI<TStore> upstream).
Properties
defaultMuiPrevented of an event received by a Tree View handler, see TreeViewCancellableEvent.
Demos:
Demos:
Semantic wrapper for one loading row of the Rich Tree View.
Functions
Creates the ref to pass to the apiRef prop of the RichTreeView component.
Creates the ref to pass to the apiRef prop of the SimpleTreeView component.