Sha256: ce512375a3c0acaa9afcfa3f04b5b33a5202844543e14030934075bea18acbd1

Contents?: true

Size: 412 Bytes

Versions: 12

Compression:

Stored size: 412 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_content do %>
    <% render(Primer::Beta::Text.new) { "You can render whatever component you want here." } %>
  <%  end %>
<% end %>

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
openproject-primer_view_components-0.48.2 previews/primer/open_project/feedback_dialog_preview/additional_content.html.erb
openproject-primer_view_components-0.48.1 previews/primer/open_project/feedback_dialog_preview/additional_content.html.erb
openproject-primer_view_components-0.48.0 previews/primer/open_project/feedback_dialog_preview/additional_content.html.erb
openproject-primer_view_components-0.47.1 previews/primer/open_project/feedback_dialog_preview/additional_content.html.erb
openproject-primer_view_components-0.47.0 previews/primer/open_project/feedback_dialog_preview/additional_content.html.erb
openproject-primer_view_components-0.46.1 previews/primer/open_project/feedback_dialog_preview/additional_content.html.erb
openproject-primer_view_components-0.46.0 previews/primer/open_project/feedback_dialog_preview/additional_content.html.erb
openproject-primer_view_components-0.45.0 previews/primer/open_project/feedback_dialog_preview/additional_content.html.erb
openproject-primer_view_components-0.44.3 previews/primer/open_project/feedback_dialog_preview/additional_content.html.erb
openproject-primer_view_components-0.44.2 previews/primer/open_project/feedback_dialog_preview/additional_content.html.erb
openproject-primer_view_components-0.44.1 previews/primer/open_project/feedback_dialog_preview/additional_content.html.erb
openproject-primer_view_components-0.44.0 previews/primer/open_project/feedback_dialog_preview/additional_content.html.erb