react-sidenav
react-sidenav copied to clipboard
Programmatically set the selected NavItem
Can you provide a function to set the selected NavItem from Nav or SideNav's element to set "active" the right one, even if the user either enters the pathname himself or does history.back()?
Two NavItem can be active when doing:
Were you able to find a solution to this @GiambaFr ?
No, I've played with it a few hours to finaly figure out it was not the lib I was looking for. It was not open enough for the uses I needed to complete my project. So I moved to React.Router and I build it myself.