Open jmombiela opened 4 years ago
There's a prop called mobileMode
that is missing from the docs that you can use on category-menu and might help you on that:
Excellent! The only downside is that it does not allow me to generate a ul
for each subcategory (I have 3 levels of categories in the menu that I am developing and I need each one to be a drawer), when I click on a li
, the children of that create them as li
brothers and what you would need is to generate an ul
that contains them.
Do you know if there is any way to fix it? Thank you!
What are you trying to accomplish?
I am trying to create a 3 level menu using Drawer and Category-menu for mobile devices.
What have you tried so far?
I was able to implement a drawer that has all categories-menu as children, the problem that in the second level of categories it does not allow me to generate a header to navigate through the menu or add icons that accompany the elements. Can the category menu component be further customized to get a more drawer-like result?
Additional info
Implemented code for the menu:
Example of a category-menu (the rest are the same):