Sha256: 0cd83abee3752ebf5ea9c32d2199a629aef1bc33e0fd5ca053cdf67a06e84647
Contents?: true
Size: 756 Bytes
Versions: 34
Compression:
Stored size: 756 Bytes
Contents
<% subject_id = SecureRandom.hex %> <%= render(Primer::Alpha::SelectPanel.new( data: { interaction_subject: subject_id }, id: "with_avatar_items", title: "Select users", select_variant: :single, fetch_strategy: :local, dynamic_label: true, dynamic_label_prefix: "Item", open_on_load: open_on_load )) do |panel| %> <% panel.with_show_button { "Choose item" } %> <% panel.with_item(label: "Item 1") %> <% panel.with_item(label: "Item 2") %> <% panel.with_item(label: "Item 3") %> <% panel.with_item(label: "Item 4") %> <% panel.with_item(label: "Item 5") %> <% panel.with_item(label: "Item 6") %> <% end %> <%= render partial: "primer/alpha/select_panel_preview/interaction_subject_js", locals: { subject_id: subject_id } %>
Version data entries
34 entries across 34 versions & 2 rubygems