Sha256: 939e77d934cf9f901c4f53dba033c41e1ffe0b650cf97263d3db586f8f75ad67
Contents?: true
Size: 780 Bytes
Versions: 11
Compression:
Stored size: 780 Bytes
Contents
<%= render(Primer::OpenProject::PageHeader.new) do |component| %> <% component.with_title(tag: :h1) do %> A title <% end %> <% component.with_description do %> A description with actions <% end %> <% component.with_parent_link(href: "#") do %> Parent link <% end %> <% component.with_context_bar_actions do %> <%= render(Primer::Alpha::ActionMenu.new) do |component| %> <% component.with_show_button { "Menu" } %> <% component.with_item(label: "Item", tag: :button, value: "") %> <% component.with_item( label: "Show dialog", tag: :button, content_arguments: { "data-show-dialog-id": "my-dialog" }, value: "", scheme: :danger ) %> <% end %> <% end %> <% end %>
Version data entries
11 entries across 11 versions & 1 rubygems