I am using Link component from react-router-link which applies blue color css to the text just like an anchor tag does. I want to change this to white, how can I do that?
onHover I want to change it to blue.
I am using Link component from react-router-link which applies blue color css to the text just like an anchor tag does. I want to change this to white, how can I do that?
onHover I want to change it to blue.
Since
Linkget's transpiled to an<a>, you can use css to style all<a>and change all links color to white:Or add a
.linkclass to eachLink:Edit: You can also pass in an inline style. You can't pass :hover rules inline though: