Sha256: 026c747012985b44543f50985b56d277661a5f025946268070300046e00d227e

Contents?: true

Size: 406 Bytes

Versions: 1

Compression:

Stored size: 406 Bytes

Contents

<%= render(Primer::BaseComponent.new(tag: :div)) do %>
  <% if heading %>
    <%= heading %>
  <% end %>
  <%= 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 %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
primer_view_components-0.1.1 app/components/primer/alpha/action_list.html.erb