Allow ActionList.Item to be an anchor
See original GitHub issueDescription
Allow ActionList.Item to be a link, so that an ActionList could be used as a navigation menu
Component API
Possibilities:
<Item as={Link} href={...} />
<LinkItem href={...} />
Issue Analytics
- State:
- Created 2 years ago
- Comments:8 (6 by maintainers)
Top Results From Across the Web
Is it sound to wrap a list item in an anchor? - Stack Overflow
I want the images to be in a list ( <ul><li> .. etc) and have each item have a different background-image . Would...
Read more ><a>: The Anchor element - HTML: HyperText Markup Language
Allowed values are the same as the global lang attribute. ping. A space-separated list of URLs. When the link is followed, the browser...
Read more >HTML Anchors: Here's How To Create Links For Fast ...
Learn how to create HTML hyperlinks. This guide covers the anchor element and all of it's attributes.
Read more >Anchors cannot be set before list items · Issue #2124 - GitHub
After some experimentation, it appears the problem only occurs when the list item follows another list item that ends in a conditional statement ......
Read more >List | Angular Material
Simple navigation lists can use the mat-list-item attribute on anchor tag elements ... Use the <mat-action-list> element when each item in the list...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
React Router is supposedly dropping support for as/component type stuff on
Link/NavLink
, I believe in v6 in a push to make sure people actually render ‘a’ tags for links, so i’m not sure if that will be supported in the future, but<ActionList.Item as={ReactRouteLikeLink}>
would beFrom the perspective of Next.js, D looks great. I’m less familiar with react-router, but @mattcosta7 can probably weigh in there.