I am new to the ReactJS world, and would like to know how can I pass active class name to the element instead of (Link) element
(Link)
Great answer.
Just change the following to get it working...
LinkComponent = index ? IndexLink : Link //If its true you want an IndexLink //Also link needs to be... Home