alpertuna / react-metismenu

A ready / simple to use, highly customizable, updateable, ajax supported, animated and material designed menu component for React

Home Page:https://www.npmjs.com/package/react-metismenu

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How can I set/change the className of wrapper, container, item?

garbin opened this issue · comments

I can't find any info in docs about how to set active className on menu item when it being clicked.
I checkout the code, the Wrapper, Container, Item's className is hard code, it can't be change now. I think wrapper, container, menu item should be able to custom their className to easy fits any css framework or their own styles.

In my projects I use its own classname and overwrite with custom css. However, you are right. People should be able to put different classnames. I also commit a patch for that

Hello @garbin
Now, you are able to customize styles with v0.6.0 minor update.
These readme sections may help you;

Feel free to open new issues 😊

Wow! So efficient! I'll give it a try then give you feedback ASAP.