Previews

1
2
3
4
5
6
7
8
9
<div style="height: 1000px; overflow: auto">
<div style="height: 400px"></div>
<%= render Primer::Alpha::ActionMenu.new(anchor_align: :end) do |c| %>
<% c.with_show_button { "Edit" } %>
<% c.with_item(tag: :button, type: "button", label: "Rename") %>
<% c.with_item(tag: :button, type: "button", scheme: :danger, label: "Remove") %>
<% end %>
<div style="height: 1400px"></div>
</div>