You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 4, 2020. It is now read-only.
As a result of #83 , it is required for the MenuItem Component to handle the disabled prop and act accordingly.
Problem description
The disabled prop has been added to MenuItem, in order to be used to add the aria-disabled attribute on the element. However, adding this prop should trigger the actual disabled behaviour for the menu item, similar to how Button behaves, for instance.
Proposed solution
Provide functionality to the MenuItem component in order to make it act similarly to Button when it receives the disabled=true