[Tabs][base] TabList should only process children with role tab
#33663
Labels
component: tabs
This is the name of the generic UI component, not the React module!
new feature
New feature or request
package: base-ui
Specific to @mui/base
Duplicates
Latest version
Summary 💡
I want to leverage the divider in Joy but doing this does not work:
Then I found out that
TabList
process the children and attach some values to them.Does it make sense to only process the children with
role="tab"
? It would make it easy for customization and extension.Or we can flip it the other way around. Ignore the child that has
role="none"
.Examples 🌈
No response
Motivation 🔦
No response
The text was updated successfully, but these errors were encountered: