[TreeView] Cannot easily remove the expand and collpase icons #12548
Labels
component: tree view
TreeView, TreeItem. This is the name of the generic UI component, not the React module!
enhancement
This is not a bug, nor a new feature
Steps to reproduce
Link to live example: (required)
<SimpleTreeView slots={{ expandIcon:undefined, collapseIcon:undefined}}>
Steps:
1.
2.
3.
Current behavior
When setting it to undefined, it still keeps the initial collapse icon instead of having no svg at all
Expected behavior
When it is set to undefined, no svg elements are displayed
Context
No response
Your environment
npx @mui/envinfo
Search keywords: SimpleTreeView slots v7
The text was updated successfully, but these errors were encountered: