Sha256: 9563496aab24ebf0f06e286cb41c925b8c16ec2ae624f9913c6cba5a6c4b1077
Contents?: true
Size: 646 Bytes
Versions: 51
Compression:
Stored size: 646 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")) 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
51 entries across 51 versions & 2 rubygems