[TreeView] Use new DX patterns (hooks and slots) for TreeItem
customization
#12287
Labels
component: tree view
TreeView, TreeItem. This is the name of the generic UI component, not the React module!
customization: css
Design CSS customizability
customization: extend
Logic customizability
Currently, the customization of the TreeView is done mainly with the
ContentComponent
andContentProps
props on theTreeItem
component.We want to replace those props with a set of slots (
slots.label
,slots.iconContainer
, ...) and with auseTreeItemHook
that allows advanced customization.This should also solve #12284 by not having the style of the label defined at the content level.
Search keywords:
The text was updated successfully, but these errors were encountered: