Sha256: 5287a08420309690f3410a816c02836813249c0f22d103ad39af1793ef48d46b

Contents?: true

Size: 258 Bytes

Versions: 25

Compression:

Stored size: 258 Bytes

Contents

<%= render Primer::BaseComponent.new(**@system_arguments) do %>
  <% if @header.present? %>
    <div class="dropdown-header">
      <%= @header %>
    </div>
  <% end %>
  <ul>
    <% items.each do |item| %>
      <%= item %>
    <% end %>
  </ul>
<% end %>

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
primer_view_components-0.0.23 app/components/primer/dropdown/menu_component.html.erb
primer_view_components-0.0.22 app/components/primer/dropdown/menu_component.html.erb
primer_view_components-0.0.21 app/components/primer/dropdown/menu_component.html.erb
primer_view_components-0.0.20 app/components/primer/dropdown/menu_component.html.erb
primer_view_components-0.0.19 app/components/primer/dropdown/menu_component.html.erb