SHARE
TWEET

Untitled

a guest Dec 3rd, 2019 94 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. this.state = {
  2.       isOpen: false,
  3.       linkRefActiveColor: "#000",
  4.       linkRefNotActiveColor: "#fff"
  5.     };
  6.  
  7. <NavItem>
  8.                 <NavLink href="#" onClick={this.activeLink}>
  9.                   <FaHome
  10.                     style={{
  11.                       color: this.state.linkRefActive
  12.                         ? this.state.linkRefActiveColor
  13.                         : this.state.linkRefNotActiveColor
  14.                     }}
  15.                   />
  16.                 </NavLink>
  17.               </NavItem>
  18.               <NavItem>
  19.                 <NavLink href="#" onClick={this.activeLink}>
  20.                   <FaNetworkWired
  21.                     style={{
  22.                       color: this.state.linkRefActive
  23.                         ? this.state.linkRefActiveColor
  24.                         : this.state.linkRefNotActiveColor
  25.                     }}
  26.                   />
  27.                 </NavLink>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top