Skip to content
This repository was archived by the owner on Mar 4, 2020. It is now read-only.
This repository was archived by the owner on Mar 4, 2020. It is now read-only.

Add MenuItem disabled prop #186

@silviuaavram

Description

@silviuaavram

Feature Request

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions