Sha256: 4518375f2d9565206474199c57cd148e744fd0634713014bbda6753e504f99b7

Contents?: true

Size: 387 Bytes

Versions: 2

Compression:

Stored size: 387 Bytes

Contents

<%= render(Yattho::Beta::Subhead.new) do |component| %>
  <% component.with_heading do %>
    My Heading
  <% end %>
  <% component.with_description do %>
    My Description
  <% end %>
  <% component.with_actions do %>
    <%= render(
      Yattho::ButtonComponent.new(
        tag: :a, href: "http://www.google.com", scheme: :danger
      )
    ) { "Action" } %>
  <% end %>
<% end %>

Version data entries

2 entries across 1 versions & 1 rubygems

Version Path
yattho_view_components-0.0.1 previews/docs/beta_subhead_preview/with_actions.html.erb
yattho_view_components-0.0.1 previews/docs/subhead_component_preview/with_actions.html.erb