Topic: How to add link to SideNavCat with no collapse list
CartoonNetwork159 pro asked 6 years ago
- How to add link to SideNavCat (using to="/" not href="/") and don't have dropdown menu ?
- How to hide icon angle-down and angle-up in SideNavCat ?
Jakub Mandra staff premium answered 6 years ago
<SideNavLink to="#" ... />
instead of SideNavCat (which is a dropdown element).
Best CartoonNetwork159 pro commented 6 years ago
And how to add hover and active effect on <SideNavLink/> ?
Jakub Mandra staff premium commented 6 years ago
It should have hover effect by default.
We did not prepare active
prop. Thank you for pointing out, we will add it :)
You can use className="collapsible-header active"
on your SideNavLink
for active state.
Regards
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: Pro
- Premium support: No
- Technology: MDB React
- MDB Version: 4.7.1
- Device: MAC Pro
- Browser: Google Chrome
- OS: MACOS
- Provided sample code: No
- Provided link: No