Sha256: 2aa31cc8014b20d9aae8cfb5cc925d54802862a1c5d3c2813ba1449cbd61e9fd
Contents?: true
Size: 689 Bytes
Versions: 79
Compression:
Stored size: 689 Bytes
Contents
<%= render(Primer::BaseComponent.new(tag: :nav, **@system_arguments)) do %> <%= heading %> <nav-list> <%= render(Primer::ConditionalWrapper.new(condition: render_outer_list?, tag: :ul, classes: "ActionListWrap", data: { target: "nav-list.topLevelList" })) do %> <% items.each_with_index do |item, index| %> <% if index > 0 && render_divider_between?(item, items[index - 1]) %> <%= render(Primer::Alpha::ActionList::Divider.new) %> <% end %> <%= render(Primer::ConditionalWrapper.new(condition: render_outer_list? && group?(item), tag: :li)) do %> <%= item %> <% end %> <% end %> <% end %> </nav-list> <% end %>
Version data entries
79 entries across 79 versions & 2 rubygems