Sha256: f0191d5b43bf6634d70c1cb2de62fd1a07ff93a83405f5c15254c2abead35599

Contents?: true

Size: 364 Bytes

Versions: 15

Compression:

Stored size: 364 Bytes

Contents

<div class="<%= html_attrs[:class] %>" <%= html_attributes %>>
  <% if href.present? %>
    <%= render(Ariadne::UI::Link::Component.new(href: href, theme: :none, html_attrs: { class: "w-full h-full"})) do %>
      <%= header %>
      <%= body %>
      <%= footer %>
    <% end %>
  <% else %>
    <%= header %>
    <%= body %>
    <%= footer %>
  </div>
<% end %>

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
ariadne_view_components-0.0.90 app/components/ariadne/ui/card/component.html.erb
ariadne_view_components-0.0.89.1 app/components/ariadne/ui/card/component.html.erb
ariadne_view_components-0.0.89 app/components/ariadne/ui/card/component.html.erb
ariadne_view_components-0.0.88 app/components/ariadne/ui/card/component.html.erb
ariadne_view_components-0.0.87 app/components/ariadne/ui/card/component.html.erb
ariadne_view_components-0.0.86.9 app/components/ariadne/ui/card/component.html.erb
ariadne_view_components-0.0.86.8 app/components/ariadne/ui/card/component.html.erb
ariadne_view_components-0.0.86.7 app/components/ariadne/ui/card/component.html.erb
ariadne_view_components-0.0.86.6 app/components/ariadne/ui/card/component.html.erb
ariadne_view_components-0.0.86.5 app/components/ariadne/ui/card/component.html.erb
ariadne_view_components-0.0.86.4 app/components/ariadne/ui/card/component.html.erb
ariadne_view_components-0.0.86.3 app/components/ariadne/ui/card/component.html.erb
ariadne_view_components-0.0.86.2 app/components/ariadne/ui/card/component.html.erb
ariadne_view_components-0.0.86.1 app/components/ariadne/ui/card/component.html.erb
ariadne_view_components-0.0.86 app/components/ariadne/ui/card/component.html.erb