Sha256: 4bc572c26c994a5f366b529dbec2976c2ab32945b1b18656ef9953a045e08944

Contents?: true

Size: 556 Bytes

Versions: 28

Compression:

Stored size: 556 Bytes

Contents

<%= render(Primer::BaseComponent.new(tag: :ul, role: @role, classes: "ActionListWrap")) do %>
  <% if heading %>
    <%= heading %>
  <% end %>
  <%= render(Primer::BaseComponent.new(tag: :li, **@list_wrapper_arguments)) do %>
    <%= render(Primer::BaseComponent.new(tag: :ul, **@system_arguments)) do %>
      <% items.each_with_index do |item, index| %>
        <% if index > 0 && @show_dividers %>
          <%= render(Primer::Alpha::ActionList::Divider.new) %>
        <% end %>
        <%= item %>
      <% end %>
    <% end %>
  <% end %>
<% end %>

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
primer_view_components-0.0.104 app/components/primer/alpha/action_list.html.erb
primer_view_components-0.0.103 app/components/primer/alpha/action_list.html.erb
primer_view_components-0.0.102 app/components/primer/alpha/action_list.html.erb
primer_view_components-0.0.101 app/components/primer/alpha/action_list.html.erb
primer_view_components-0.0.100 app/components/primer/alpha/action_list.html.erb
primer_view_components-0.0.99 app/components/primer/alpha/action_list.html.erb
primer_view_components-0.0.98 app/components/primer/alpha/action_list.html.erb
primer_view_components-0.0.97 app/components/primer/alpha/action_list.html.erb