Sha256: 6c7039bb712e25ab6584cccd0694afe88292a9794d733664c5509a26c11cd409

Contents?: true

Size: 332 Bytes

Versions: 1

Compression:

Stored size: 332 Bytes

Contents

<%= render(Yattho::Alpha::UnderlineNav.new(label: "Default with nav 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/default_with_nav.html.erb