Sha256: 7af3e49b9adea9a3bb50de8bdb1a48c91ef3fada53877887d09cfdcde06944a0

Contents?: true

Size: 587 Bytes

Versions: 3

Compression:

Stored size: 587 Bytes

Contents

<%= render(Primer::OpenProject::SubHeader.new) do |component| %>
  <% component.with_filter_input(name: "filter", label: "Filter") %>

  <% component.with_action_component do %>
    <%= render Primer::Alpha::ActionMenu.new(menu_id: "menu-1") do |menu|
      menu.with_show_button(icon: :"op-kebab-vertical", "aria-label": "Menu")
      menu.with_item(label: "Subitem 1") do |item|
        item.with_leading_visual_icon(icon: :paste)
      end
      menu.with_item(label: "Subitem 2") do |item|
        item.with_leading_visual_icon(icon: :log)
      end
    end %>
  <% end %>
<% end %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
openproject-primer_view_components-0.49.2 previews/primer/open_project/sub_header_preview/action_menu_buttons.html.erb
openproject-primer_view_components-0.49.1 previews/primer/open_project/sub_header_preview/action_menu_buttons.html.erb
openproject-primer_view_components-0.49.0 previews/primer/open_project/sub_header_preview/action_menu_buttons.html.erb