Topic: MDBSideNavLink Link not working!
Expected behavior MDBSideNavLink must render a link with the correct destination path.
Actual behavior MDBSideNavLink render an empty "a" tag
Resources (screenshots, code snippets etc.) If I try by wrapping the component inside a react-router Link tag, I receive a validation error because I can't render an "a" tag inside another "a" tag. Moreover, your component MDBSideNavLink is not receiving the "tag" prop so I can't fix the behaviour.
Link
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Open
- User: Pro
- Premium support: No
- Technology: MDB React
- MDB Version: MDB5 4.0.0
- Device: PC
- Browser: chrome
- OS: win10
- Provided sample code: No
- Provided link: No
Wojciech Staniszewski staff commented 2 years ago
We will add the
tag
property in the next release. For now, you could try to add theLink
component inside.