Sha256: b04e3f0bbcd40a6ef9d27d0914bd109e67abf275eb0a4fbbeb0f1542acef7404

Contents?: true

Size: 346 Bytes

Versions: 2

Compression:

Stored size: 346 Bytes

Contents

<%= render(Yattho::Beta::Subhead.new) do |component| %>
  <% component.with_heading do %>
    A Heading
  <% end %>
  <% component.with_description do %>
    A description with actions
  <% end %>
  <% component.with_actions do %>
    <% render(Yattho::Beta::Button.new(scheme: :primary)) do %>
      An action
    <% end %>
  <% end %>
<% end %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
yattho_view_components-0.1.1 previews/yattho/beta/subhead_preview/actions.html.erb
yattho_view_components-0.0.1 previews/yattho/beta/subhead_preview/actions.html.erb