[TreeView] Create an "Item customization" doc page that uses useTreeItem2
and TreeItem2
#13161
Labels
component: tree view
TreeView, TreeItem. This is the name of the generic UI component, not the React module!
docs
Improvements or additions to the documentation
The
TreeItem2
component anduseTreeItem2
hooks have been released during the v7 beta and will replace theTreeItem
component in the next major (v8).We lack a proper documentation about these new elements.
The scope of this issue is:
slots
and one forslotProps
, similar to this page)useTreeItem2
and how to use it to replace aContentComponent
prop onTreeItem
.defaultMuiPrevented
item
object inside the Tree Item component (see [TreeView] Tree Item do not receive the item defined inRichTreeViewProps['item']
#12697)Search keywords:
The text was updated successfully, but these errors were encountered: