[Feature Request]: Update HeaderMenuItem to use isActive
, like SideNavMenuItem
#13369
Closed
4 tasks
Labels
good first issue 👋
Used by GitHub to elevate contribution opportunities
hacktoberfest
See https://hacktoberfest.com/
needs: community contribution
Due to roadmap and resource availability, we are looking for outside contributions on this issue.
proposal: accepted
This request has gone through triaging and we are accepting PR's against it.
type: enhancement 💡
The problem
HeaderMenuItem uses
isCurrentPage
to trigger the "selected" state for the component, whereas inSideNavMenuItem
the propisActive
is used. This is sort of confusing to have different named props doing functionally similar things, all within the UIShell.The solution
Updating this component to use the same prop would be a nice unification of the component APIs.
Tasks
Examples
https://ibm-studios.slack.com/archives/C2K6RFJ1G/p1679052333819769
The text was updated successfully, but these errors were encountered: