Sha256: bc33a5d134cf269fc54d081652bdb926e2793bb3b6882df7fb5f5241de9021eb

Contents?: true

Size: 686 Bytes

Versions: 7

Compression:

Stored size: 686 Bytes

Contents

<div class="ariadne-inline-block ariadne-min-w-full ariadne-py-2 ariadne-align-middle md:ariadne-px-6 lg:ariadne-px-8">
  <div class="ariadne-overflow-hidden ariadne-shadow ariadne-ring-1 ariadne-ring-black ariadne-ring-opacity-5 md:ariadne-rounded-lg">
    <%= render Ariadne::BaseComponent.new(tag: @tag, classes: @classes, attributes: @attributes) do |component| %>
      <% if has_header_row? %>
        <%= header_row %>
      <% end %>
      <ul class="ariadne-divide-y ariadne-divide-gray-200 ariadne-bg-white">
        <% rows.each do |row| %>
          <%= row %>
        <% end %>
      </ul>
    <% end %>
  </div>
  <% if has_footer? %>
    <%= footer %>
  <% end %>
</div>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
ariadne_view_components-0.0.13 app/components/ariadne/table_component.html.erb
ariadne_view_components-0.0.13-x86_64-linux app/components/ariadne/table_component.html.erb
ariadne_view_components-0.0.13-x86_64-darwin app/components/ariadne/table_component.html.erb
ariadne_view_components-0.0.13-x64-mingw32 app/components/ariadne/table_component.html.erb
ariadne_view_components-0.0.13-x64-mingw-ucrt app/components/ariadne/table_component.html.erb
ariadne_view_components-0.0.13-arm64-darwin app/components/ariadne/table_component.html.erb
ariadne_view_components-0.0.13-aarch64-linux app/components/ariadne/table_component.html.erb