Skip to content

Update LinkContainer props to follow more closely to v6 standards #300

New issue

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

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

Already on GitHub? # to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

writzx
Copy link

@writzx writzx commented Jun 15, 2022

removes activeClassName and activeStyle props and instead uses the new v6 standard by passing isActive to className and style (when they are functions).

https://reactrouter.com/docs/en/v6/components/nav-link

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant