Sha256: a518c62ae1c51205d98c7d4feb0b0461520bf124559b07289e3f0900ab39f56f

Contents?: true

Size: 335 Bytes

Versions: 1

Compression:

Stored size: 335 Bytes

Contents

<%= render(Yattho::Alpha::UnderlineNav.new(tag: :div, label: "With div element")) do |component| %>
  <% component.with_tab(href: "#", selected: true) { "Item 1" } %>
  <% component.with_tab(href: "#") { "Item 2" } %>
  <% 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/with_div.html.erb