I notice that NavLink does not work with the target property in ReactJS.
let activeStyles = {
border: "solid 2px #0d8c60",
background: "#0d8c60",
color: "#fff",
};
<NavLink to="/Gen1"
style={({ isActive }) =>
isActive ? activeStyles: undefined}
target="iframe-gen1"
>About</NavLink>
Is NavLink work with target property??
Via Active questions tagged javascript - Stack Overflow https://ift.tt/9OibGms
Comments
Post a Comment