Skip to content

How can I style links correctly when using react-router #33828

Answered by khmakoto
Sanderand asked this question in Q&A
Discussion options

You must be logged in to vote

You can use our style hooks to style the RouterLink, I've modified your codesandbox to achieve this:

https://codesandbox.io/p/sandbox/react-router-link-styled-as-fluent-link-cvhfd2

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Sanderand
Comment options

@khmakoto
Comment options

Answer selected by Sanderand
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