React Router adds an active class to NavLinks when you are on the page that they link to. How can I access this property with Styled Components. I need to styled me
active
I think it's simplest decision.
const StyledLink = styled(NavLink)` color: blue; &.${props => props.activeClassName} { color: red; } `;