Sha256: b84116aa956e70a85d377b639f1f157c494a82e48ebfd6f996124cb55211e33b

Contents?: true

Size: 278 Bytes

Versions: 121

Compression:

Stored size: 278 Bytes

Contents

<%= render(Primer::Alpha::Dialog.new(title: title, subtitle: subtitle)) do |d| %>
  <% d.with_show_button { @button_text } %>
  <% d.with_body { "Content" } %>
  <% d.with_footer do %>
    render(Primer::ButtonComponent.new(scheme: :primary)) { "Submit" }
  <% end %>
<% end %>

Version data entries

121 entries across 121 versions & 2 rubygems

Version Path
openproject-primer_view_components-0.35.2 previews/primer/alpha/dialog_preview/test.html.erb
openproject-primer_view_components-0.35.1 previews/primer/alpha/dialog_preview/test.html.erb
primer_view_components-0.26.1 previews/primer/alpha/dialog_preview/test.html.erb
openproject-primer_view_components-0.35.0 previews/primer/alpha/dialog_preview/test.html.erb
primer_view_components-0.26.0 previews/primer/alpha/dialog_preview/test.html.erb
openproject-primer_view_components-0.34.0 previews/primer/alpha/dialog_preview/test.html.erb
openproject-primer_view_components-0.33.2 previews/primer/alpha/dialog_preview/test.html.erb
openproject-primer_view_components-0.33.1 previews/primer/alpha/dialog_preview/test.html.erb
openproject-primer_view_components-0.33.0 previews/primer/alpha/dialog_preview/test.html.erb
primer_view_components-0.25.1 previews/primer/alpha/dialog_preview/test.html.erb
openproject-primer_view_components-0.32.1 previews/primer/alpha/dialog_preview/test.html.erb
openproject-primer_view_components-0.32.0 previews/primer/alpha/dialog_preview/test.html.erb
openproject-primer_view_components-0.29.1 previews/primer/alpha/dialog_preview/test.html.erb
openproject-primer_view_components-0.29.0 previews/primer/alpha/dialog_preview/test.html.erb
primer_view_components-0.23.0 previews/primer/alpha/dialog_preview/test.html.erb
openproject-primer_view_components-0.28.1 previews/primer/alpha/dialog_preview/test.html.erb
openproject-primer_view_components-0.28.0 previews/primer/alpha/dialog_preview/test.html.erb
openproject-primer_view_components-0.27.0 previews/primer/alpha/dialog_preview/test.html.erb
openproject-primer_view_components-0.26.0 previews/primer/alpha/dialog_preview/test.html.erb
openproject-primer_view_components-0.25.1 previews/primer/alpha/dialog_preview/test.html.erb