app/components/primer/navigation/tab_component.rb
def wrapper
        unless @list
          yield
          return # returning `yield` caused a double render
        end

        render(Primer::BaseComponent.new(**@wrapper_arguments)) do
          yield
        end
      end
# Panel controlled by the Tab. This will not render anything in the tab itself.
# It will provide a accessor for the Tab's parent to call and render the panel
# content in the appropriate place.
# Refer to `UnderlineNavComponent` and `TabNavComponent` implementations for examples.
#
# @param system_arguments [Hash] <%= link_to_system_arguments_docs %>
Panel controlled by the Tab. This will not render anything in the tab itself.
It will provide a accessor for the Tab's parent to call and render the panel
content in the appropriate place.
Refer to `UnderlineNavComponent` and `TabNavComponent` implementations for examples.
Panel controlled by the Tab . This will not render anything in the tab itself . It will provide a accessor for the Tab ' s parent to call and render the panel content in the appropriate place . Refer to ` UnderlineNavComponent ` and ` TabNavComponent ` implementations for examples .
def wrapper
        unless @list
          yield
          return 
        end
        render(Primer::BaseComponent.new(**@wrapper_arguments)) do
          yield
        end
      end
def wrapper unless @list yield return end render ( Primer :: BaseComponent . new ( ** @wrapper_arguments ) ) do yield end end
Panel controlled by the Tab.
Panel controlled by the Tab .
# returning `yield` caused a double render
system_arguments
None