Link active color react code example
Example: active link color different in react js
instead of <Link> use <NavLink>
<NavLink to="/" activeStyle={{color: "red",textDecoration:"none"}} />
instead of <Link> use <NavLink>
<NavLink to="/" activeStyle={{color: "red",textDecoration:"none"}} />