Sha256: 1553bc8497f91fa73cfd8410ac95f417b70c0d13452c248f1da92d0200fc3236

Contents?: true

Size: 455 Bytes

Versions: 263

Compression:

Stored size: 455 Bytes

Contents

<%= render Ariadne::BaseComponent.new(tag: @tag, classes: @classes, attributes: @attributes) do |component| %>
  <%= header %>
  <% if list? %>
    <ul>
      <% items.each do |item| %>
        <% if item.divider? %>
          <%= item %>
        <% else %>
          <li>
            <%= item %>
          </li>
        <% end %>
      <% end %>
    </ul>
  <% else %>
    <% items.each do |item| %>
      <%= item %>
    <% end %>
  <% end %>
<% end %>

Version data entries

263 entries across 263 versions & 1 rubygems

Version Path
ariadne_view_components-0.0.35-arm64-darwin app/components/ariadne/dropdown/menu_component.html.erb
ariadne_view_components-0.0.35-aarch64-linux app/components/ariadne/dropdown/menu_component.html.erb
ariadne_view_components-0.0.34 app/components/ariadne/dropdown/menu_component.html.erb
ariadne_view_components-0.0.34-x86_64-linux app/components/ariadne/dropdown/menu_component.html.erb
ariadne_view_components-0.0.34-x86_64-darwin app/components/ariadne/dropdown/menu_component.html.erb
ariadne_view_components-0.0.34-x64-mingw32 app/components/ariadne/dropdown/menu_component.html.erb
ariadne_view_components-0.0.34-x64-mingw-ucrt app/components/ariadne/dropdown/menu_component.html.erb
ariadne_view_components-0.0.34-arm64-darwin app/components/ariadne/dropdown/menu_component.html.erb
ariadne_view_components-0.0.34-aarch64-linux app/components/ariadne/dropdown/menu_component.html.erb
ariadne_view_components-0.0.33 app/components/ariadne/dropdown/menu_component.html.erb
ariadne_view_components-0.0.33-x86_64-linux app/components/ariadne/dropdown/menu_component.html.erb
ariadne_view_components-0.0.33-x86_64-darwin app/components/ariadne/dropdown/menu_component.html.erb
ariadne_view_components-0.0.33-x64-mingw32 app/components/ariadne/dropdown/menu_component.html.erb
ariadne_view_components-0.0.33-x64-mingw-ucrt app/components/ariadne/dropdown/menu_component.html.erb
ariadne_view_components-0.0.33-arm64-darwin app/components/ariadne/dropdown/menu_component.html.erb
ariadne_view_components-0.0.33-aarch64-linux app/components/ariadne/dropdown/menu_component.html.erb
ariadne_view_components-0.0.32 app/components/ariadne/dropdown/menu_component.html.erb
ariadne_view_components-0.0.32-x86_64-linux app/components/ariadne/dropdown/menu_component.html.erb
ariadne_view_components-0.0.32-x86_64-darwin app/components/ariadne/dropdown/menu_component.html.erb
ariadne_view_components-0.0.32-x64-mingw32 app/components/ariadne/dropdown/menu_component.html.erb