Skip to content

Feature: Enable rendering a different element #589

@jsbrain

Description

@jsbrain

Due to accessibility and UX reasons I want to render actual link elements instead of li elements.

This can currently only achieved by using <Menu.Item> which gives me an error notification, that it is deprecated and items should be used.

But with the items prop it seems to me there's no way to achieve the same. I guess I could abuse the label prop for that matter by making it full size and reconstruct the default layout of said element so it works the same way with the icon and what not.

Ideally, I'd want an option to change the type of the list element that's being rendered.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions