[DashboardLayout] Render NavigationItem.action
as ListItem
's secondaryAction
#4747
Labels
component: layout
This is the name of the generic UI component, not the React module!
customization: dom
Component's DOM customizability, e.g. slot
good first issue
Great for first contributions. Enable to learn the contribution process.
Summary
When a
NavigationItem
is not a parent item (i.e. it's a button in expanded sidebar view), and anaction
is provided, pointer event on theaction
component also propagate to theListItem
component. Following MUI practices, theaction
component would be better rendered as theListItem
'ssecondaryAction
(or wrapped in theSecondaryAction
child component).Examples
No response
Motivation
No response
Search keywords: dashboard layout navigation item action secondary action
The text was updated successfully, but these errors were encountered: