link ativo cor diferente no react js
instead of <Link> use <NavLink>
<NavLink to="/" activeStyle={{color: "red",textDecoration:"none"}} />
Adventurous Addax
instead of <Link> use <NavLink>
<NavLink to="/" activeStyle={{color: "red",textDecoration:"none"}} />
Example :
<NavLink to={link} activeClassName={class name } exact >{children}</NavLink>