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
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.
The text was updated successfully, but these errors were encountered:
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 anditems
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.
The text was updated successfully, but these errors were encountered: