Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

react-active link

<NavLink
  to="/faq"
  style={isActive => ({
    color: isActive ? "green" : "blue"
  })}
>
  FAQs
</NavLink>
Source by v5.reactrouter.com #
 
PREVIOUS NEXT
Tagged: #link
ADD COMMENT
Topic
Name
4+7 =