DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
4+7 =
Submit