Sha256: 984feef38995d894a5fd73ab355b0f084a9f4726559fdd986db63efd2ffe3d44

Contents?: true

Size: 424 Bytes

Versions: 1

Compression:

Stored size: 424 Bytes

Contents

<%= render(Yattho::Alpha::UnderlineNav.new(label: "Align right", align: :right)) do |component| %>
  <% component.with_tab(href: "#", selected: true) do |tab| %>
    <% tab.with_text { "Item 1" } %>
  <% end %>
  <% component.with_tab(href: "#") do |tab| %>
    <% tab.with_text { "Item 2" } %>
  <% end %>
  <% component.with_actions do %>
    <%= render(Yattho::ButtonComponent.new) { "Button!" } %>
  <% end %>
<% end %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
yattho_view_components-0.0.1 previews/docs/alpha_underline_nav_preview/align_right.html.erb