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.59-x64-mingw-ucrt app/components/ariadne/dropdown/menu_component.html.erb
ariadne_view_components-0.0.59-aarch64-linux app/components/ariadne/dropdown/menu_component.html.erb
ariadne_view_components-0.0.59-x86_64-darwin app/components/ariadne/dropdown/menu_component.html.erb
ariadne_view_components-0.0.59-x86_64-linux app/components/ariadne/dropdown/menu_component.html.erb
ariadne_view_components-0.0.59-arm64-darwin app/components/ariadne/dropdown/menu_component.html.erb
ariadne_view_components-0.0.59 app/components/ariadne/dropdown/menu_component.html.erb
ariadne_view_components-0.0.58-x86_64-darwin app/components/ariadne/dropdown/menu_component.html.erb
ariadne_view_components-0.0.58-aarch64-linux app/components/ariadne/dropdown/menu_component.html.erb
ariadne_view_components-0.0.58-arm64-darwin app/components/ariadne/dropdown/menu_component.html.erb
ariadne_view_components-0.0.58-x64-mingw-ucrt app/components/ariadne/dropdown/menu_component.html.erb
ariadne_view_components-0.0.58 app/components/ariadne/dropdown/menu_component.html.erb
ariadne_view_components-0.0.58-x86_64-linux app/components/ariadne/dropdown/menu_component.html.erb
ariadne_view_components-0.0.57-arm64-darwin app/components/ariadne/dropdown/menu_component.html.erb
ariadne_view_components-0.0.57-aarch64-linux app/components/ariadne/dropdown/menu_component.html.erb
ariadne_view_components-0.0.57-x86_64-darwin app/components/ariadne/dropdown/menu_component.html.erb
ariadne_view_components-0.0.57-x86_64-linux app/components/ariadne/dropdown/menu_component.html.erb
ariadne_view_components-0.0.57-x64-mingw-ucrt app/components/ariadne/dropdown/menu_component.html.erb
ariadne_view_components-0.0.57 app/components/ariadne/dropdown/menu_component.html.erb
ariadne_view_components-0.0.55-x86_64-linux app/components/ariadne/dropdown/menu_component.html.erb
ariadne_view_components-0.0.55-arm64-darwin app/components/ariadne/dropdown/menu_component.html.erb