Sha256: 2a7795db13b30fa09b455b4329be8f792c12af7006c167a7ad7958c8c455565b

Contents?: true

Size: 411 Bytes

Versions: 3

Compression:

Stored size: 411 Bytes

Contents

<%= render(Primer::OpenProject::FeedbackDialog.new) do |dialog| %>
  <% dialog.with_show_button { "Click me" } %>
  <% dialog.with_feedback_message do |message| %>
    <% message.with_heading(tag: :h2).with_content("Action successful") %>
  <% end %>
  <% dialog.with_additional_details do %>
    <% render(Primer::Beta::Text.new) { "You can render whatever component you want here." } %>
  <% end %>
<% end %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
openproject-primer_view_components-0.52.2 previews/primer/open_project/feedback_dialog_preview/with_additional_details.html.erb
openproject-primer_view_components-0.52.1 previews/primer/open_project/feedback_dialog_preview/with_additional_details.html.erb
openproject-primer_view_components-0.52.0 previews/primer/open_project/feedback_dialog_preview/with_additional_details.html.erb