SideNav with rsuite

712 views Asked by At

I want to create a sideNav in reactjs and I am using rsuite, but I am not able to make it work properly. I have added my code to sandbox here Can anyone tell me how to style this properly and add route to the nav. Even if there is similar example that would do too. I checked this example but that code also did not work for me

1

There are 1 answers

0
antoineso On BEST ANSWER

You just forgot to import the default style as describe in the doc
So you just need to add import "rsuite/dist/styles/rsuite-default.css"; in your index.js file in your code sandbox.
Edit rsuite-sideNav (forked)