Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NavLink Update for Active #504

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

BSd3v
Copy link
Contributor

@BSd3v BSd3v commented Feb 5, 2025

adding support for NavLink to set active based upon page navigation automatically:

  • options for active are now boolean | 'partial' | 'exact'
  • partial will care if the pathname starts with the href
  • exact will display if the pathname is an exact match
  • true / false will disable the matching and set true and false respectively

closes #365

BSd3v added 3 commits February 5, 2025 12:06
…utomatically:

- options for `active` are now `boolean | 'partial' | 'exact'`
- partial will care if the pathname starts with the href
- exact will display if the pathname is an exact match
- true / false will disable the matching and set true and false respectively
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature Request] Add active prop to NavLink
1 participant