Sha256: 94458e36e161491b780cc69d481dc63e8334800214713345578e416c98966670

Contents?: true

Size: 387 Bytes

Versions: 137

Compression:

Stored size: 387 Bytes

Contents

<%= render(Primer::Alpha::TabNav.new(label: "With icons and counters")) 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: align) do %>
    <%= render(Primer::Beta::Button.new) { "Extra Button" } %>
  <% end %>
<% end %>

Version data entries

137 entries across 137 versions & 2 rubygems

Version Path
primer_view_components-0.19.0 previews/primer/alpha/tab_nav_preview/with_extra.html.erb
openproject-primer_view_components-0.22.2 previews/primer/alpha/tab_nav_preview/with_extra.html.erb
primer_view_components-0.18.2 previews/primer/alpha/tab_nav_preview/with_extra.html.erb
openproject-primer_view_components-0.22.1 previews/primer/alpha/tab_nav_preview/with_extra.html.erb
primer_view_components-0.18.1 previews/primer/alpha/tab_nav_preview/with_extra.html.erb
openproject-primer_view_components-0.22.0 previews/primer/alpha/tab_nav_preview/with_extra.html.erb
primer_view_components-0.18.0 previews/primer/alpha/tab_nav_preview/with_extra.html.erb
openproject-primer_view_components-0.21.0 previews/primer/alpha/tab_nav_preview/with_extra.html.erb
primer_view_components-0.17.0 previews/primer/alpha/tab_nav_preview/with_extra.html.erb
openproject-primer_view_components-0.20.0 previews/primer/alpha/tab_nav_preview/with_extra.html.erb
primer_view_components-0.16.1 previews/primer/alpha/tab_nav_preview/with_extra.html.erb
primer_view_components-0.16.0 previews/primer/alpha/tab_nav_preview/with_extra.html.erb
openproject-primer_view_components-0.19.0 previews/primer/alpha/tab_nav_preview/with_extra.html.erb
primer_view_components-0.15.1 previews/primer/alpha/tab_nav_preview/with_extra.html.erb
primer_view_components-0.15.0 previews/primer/alpha/tab_nav_preview/with_extra.html.erb
openproject-primer_view_components-0.18.1 previews/primer/alpha/tab_nav_preview/with_extra.html.erb
openproject-primer_view_components-0.17.1 previews/primer/alpha/tab_nav_preview/with_extra.html.erb
openproject-primer_view_components-0.17.0 previews/primer/alpha/tab_nav_preview/with_extra.html.erb
primer_view_components-0.14.0 previews/primer/alpha/tab_nav_preview/with_extra.html.erb
openproject-primer_view_components-0.16.0 previews/primer/alpha/tab_nav_preview/with_extra.html.erb