Skip to content

[QUESTION] How to use anchor as menu item #41

Description

@erzzo

Hey,
The dropdown menu is working great but I'm struggling to change the menu item to a anchor.
I've changed the element like in the example:

   <MenuItem
      componentClass={Link}
      href="/reports"
    >
      Button Label
    </MenuItem>

and the result is:

image

The href attribute is not applied to the parent element.
How can I achieve this?
Thanks for help

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions