Skip to content

Menu / Navbar: How to apply style to selected menu item? #1559

Closed Answered by gbj
gitmalong asked this question in Q&A
Discussion options

You must be logged in to vote

This sounds to me like a very good use case for the <A/> component, and if not, then the logic that <A/> uses to check if it's active may be useful for you to just reuse.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by gitmalong
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants