abhijithvijayan / react-minimal-side-navigation

Minimal side navigation component for React
https://codesandbox.io/s/react-minimal-side-navigation-example-y299d?file=/src/components/NavSidebar.jsx
MIT License
67 stars 28 forks source link

Styling #1

Closed Ali-Ozturk closed 3 years ago

Ali-Ozturk commented 3 years ago

Hello, great component and easy to use. But is there any way to actually style the buttons - the nav-sub-items etc. ? I can't find any way to give them specific classes or anything. Thanks

abhijithvijayan commented 3 years ago

I will add classes to all the components.

Ali-Ozturk commented 3 years ago

I'm working on a project and need the sidebar soon. Would that be an implementation you consider to make in the near future? Just wondering if I should look into other similar components or wait :) Thanks for the fast answer btw!

abhijithvijayan commented 3 years ago

I will do that in an hour or so

Ali-Ozturk commented 3 years ago

I will do that in an hour or so

Wow that would be great. Looking forward to it, thank you!

abhijithvijayan commented 3 years ago

@Ali-Ozturk Released in 1.5.1

Every item has a unique class name to it.

Closing now. Feel free to reopen if the fix doesn't resolve the issue.

There is a plan to migrate to CSS IN JS libaries to handle the tailwindcss classes to reduce classnames on elements, but even then these classes will be kept as such.

davekedar commented 3 years ago

Can I add icon to Sub Navigation ?