Sha256: 573c5e50d74b36f57a858964dfd1662470bce6af64f3d119d154f4dded06cb32
Contents?: true
Size: 464 Bytes
Versions: 1
Compression:
Stored size: 464 Bytes
Contents
<%= render(Yattho::Alpha::TabNav.new(label: "Adding extra content after the tabs", display: :flex, body_arguments: { flex: 1 })) 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(align: :right) do %> <div> <%= render(Yattho::ButtonComponent.new) { "Button" } %> </div> <% 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/adding_extra_content_after_the_tabs.html.erb |