Sha256: 913ef152b4e2d30f2b255c9794ab654a488c9eb97292a8fb26302a6c2fd0b7af

Contents?: true

Size: 451 Bytes

Versions: 11

Compression:

Stored size: 451 Bytes

Contents

<%= wrapper(**@wrapper_arguments) do %>
  <%= render Primer::BaseComponent.new(**@system_arguments) do %>
    <%= extra if @align == :left %>

    <%= render Primer::BaseComponent.new(**@body_arguments) do %>
      <% tabs.each do |tab| %>
        <%= tab %>
      <% end %>
    <% end %>

    <%= extra if @align == :right %>
  <% end %>

  <% if @with_panel %>
    <% tabs.each do |tab| %>
      <%= tab.panel %>
    <% end %>
  <% end %>
<% end %>

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
primer_view_components-0.0.53 app/components/primer/tab_nav_component.html.erb
primer_view_components-0.0.52 app/components/primer/tab_nav_component.html.erb
primer_view_components-0.0.51 app/components/primer/tab_nav_component.html.erb
primer_view_components-0.0.50 app/components/primer/tab_nav_component.html.erb
primer_view_components-0.0.49 app/components/primer/tab_nav_component.html.erb
primer_view_components-0.0.48 app/components/primer/tab_nav_component.html.erb
primer_view_components-0.0.47 app/components/primer/tab_nav_component.html.erb
primer_view_components-0.0.46 app/components/primer/tab_nav_component.html.erb
primer_view_components-0.0.45 app/components/primer/tab_nav_component.html.erb
primer_view_components-0.0.44 app/components/primer/tab_nav_component.html.erb
primer_view_components-0.0.43 app/components/primer/tab_nav_component.html.erb