Skip to content
This repository has been archived by the owner on Sep 1, 2020. It is now read-only.

How to add CSS class to menu item. #253

Closed
AndAShape opened this issue Jan 24, 2019 · 1 comment
Closed

How to add CSS class to menu item. #253

AndAShape opened this issue Jan 24, 2019 · 1 comment

Comments

@AndAShape
Copy link

Regarding the menu items, it says...

The attributes will be passed directly passed to the root element of MenuItem. Use this to customize it like adding custom classes (className, disabledClassName, dividerClassName and selectedClassName), etc.

How does one do this? For example, I want to set a menu item to disabled when the menu is opened based on the attributes.

@AndAShape
Copy link
Author

oh, connectMenu!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant