Sha256: cbf072ca4f10a2116571afb06c3faab32159773d162d7192fa425bd6c5fcdd5c
Contents?: true
Size: 1.01 KB
Versions: 5
Compression:
Stored size: 1.01 KB
Contents
<%= render Primer::BaseComponent.new(**@system_arguments) do %> <% if @parent_link || breadcrumbs || actions.any? %> <div class="PageHeader-contextBar"> <%= @parent_link %> <%= breadcrumbs %> <% if render_mobile_menu? %> <%= render(@mobile_action_menu) do |menu| %> <% menu.with_show_button(icon: :"kebab-horizontal", size: :small, "aria-label": @mobile_menu_label) %> <% @desktop_menu_block.call(menu) unless @desktop_menu_block.nil? %> <% end %> <% elsif actions.length == 1 && @mobile_action.present? %> <%= render(@mobile_action) { |el| @mobile_action_block.call(el) unless @mobile_action_block.nil?} %> <% end %> </div> <% end %> <div class="PageHeader-titleBar"> <%= leading_action %> <%= title %> <% if actions.any? %> <div class="PageHeader-actions"> <% actions.each do |action| %> <%= action %> <% end %> </div> <% end %> </div> <%= description %> <%= tab_nav %> <% end %>
Version data entries
5 entries across 5 versions & 1 rubygems