Sha256: 71d68d202877bc86b5ca71997bd64958de2f655c13cd5db490489f6328d474eb
Contents?: true
Size: 379 Bytes
Versions: 1
Compression:
Stored size: 379 Bytes
Contents
<%= render(Yattho::Alpha::TabNav.new(label: "With extra content")) do |component| %> <% component.with_tab(selected: true, href: "#") { "Tab 1" }%> <% component.with_tab(href: "#") { "Tab 2" } %> <% component.with_tab(href: "#") { "Tab 3" } %> <% component.with_extra do %> <%= render(Yattho::ButtonComponent.new(float: :right)) { "Button" } %> <% end %> <% end %>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
yattho_view_components-0.0.1 | previews/docs/alpha_tab_nav_preview/with_extra_content.html.erb |