Sha256: 1cf81c903eca7c7c0031c395d21d9399dd099b2c302aa983a1f46a8d54a4cfe1
Contents?: true
Size: 1 KB
Versions: 18
Compression:
Stored size: 1 KB
Contents
<%= render(Primer::BaseComponent.new(tag: :div, flex_items: :center, display: :flex)) do %> <%= form_with(url: action_menu_form_action_path(format: route_format)) do |f| %> <%= render(Primer::Alpha::ActionMenu.new(select_variant: :single, form_arguments: { builder: f, name: "foo" })) do |menu| %> <% menu.with_show_button(classes: "rounded-right-0 border-right-0") { |button| button.with_trailing_action_icon(icon: :"triangle-down"); "Filter" } %> <% menu.with_item(label: "Fast forward", data: { value: "fast_forward" }) %> <% menu.with_item(label: "Recursive", data: { value: "recursive" }) %> <% menu.with_item(label: "Ours", data: { value: "ours" }) %> <% menu.with_item(label: "Resolve") %> <% end %> <% end %> <%= render(Primer::Alpha::TextField.new( name: "message", placeholder: "What's happening?", label: "What is your current status?", classes: "rounded-left-0", visually_hide_label: true, value: "Some value", inset: true, )) %> <% end %>
Version data entries
18 entries across 18 versions & 2 rubygems