Sha256: 6ee62bed3be746a4d4444db087f4e50f1bcbfa014e2b73bdb69c0704f099a8ac

Contents?: true

Size: 415 Bytes

Versions: 2

Compression:

Stored size: 415 Bytes

Contents

<%= render(Primer::Alpha::Overlay.new(title: "An overlay")) do |o| %>
  <% o.with_show_button() { "Show overlay" } %>
  <% o.with_body() do %>
    <%= render(Primer::Alpha::Dialog.new(id: "dialog-one", title: title, position: position, subtitle: subtitle, visually_hide_title: false)) do |d| %>
      <% d.with_show_button { button_text } %>
      <% d.with_body { body_text} %>
    <% end %>
  <% end %>
<% end %>

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
openproject-primer_view_components-0.22.1 previews/primer/alpha/dialog_preview/dialog_inside_overlay.html.erb
primer_view_components-0.18.1 previews/primer/alpha/dialog_preview/dialog_inside_overlay.html.erb