Skip to content

Active attribute on exact path #4335

Answered by RMHonor
pooryamoh asked this question in Q&A
Discussion options

You must be logged in to vote

The prop activeOptions.exact on a Link component sounds like what you're looking for.

<Link
  to="/users
  activeOptions={{ exact: true }}
/>

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by pooryamoh
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