x
1
2
3
4
5
6
7
8
9
10
11
12
13
<action-list> <div data-view-component="true"> <ul aria-label="List heading" id="action-list-d2bca80b-066d-48fc-a9e6-311d2152b1b6" role="list" data-view-component="true" class="ActionListWrap"> <li data-targets="action-list.items" data-view-component="true" class="ActionListItem"> <a id="item-8f8bbeee-4e62-4f6f-a883-f6f9f3865f6d" href="/" data-view-component="true" class="ActionListContent"> <span data-view-component="true" class="ActionListItem-label"> This is a very long string of text that will wrap if it runs out of horizontal space </span> </a> </li> </ul> </div></action-list>
No notes provided.
1
2
3
4
5
render(Primer::Alpha::ActionList.new( aria: { label: "List heading" } )) do |component| component.with_item(label: "This is a very long string of text that will wrap if it runs out of horizontal space", href: "/")end
No params configured.