Sha256: d668fa90a4ce5931485a879b7e95721ff722310331f933e2445038eadff77555

Contents?: true

Size: 368 Bytes

Versions: 4

Compression:

Stored size: 368 Bytes

Contents

<%= render component_tag(x: {data: x_data("modalCanvas")}) do %>
  <% if dismissable? %>
    <button type="button" class="modal-canvas-close" data-role="close" @click="close">
      <%= coco_icon(:x, size: :md) %>
    </button>
  <% end %>
  <div class="modal-canvas-content"<% if dismissable? %> @click.outside="close"<% end %>>
    <%= content %>
  </div>
<% end %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
coveragebook_components-0.19.8 app/components/coco/modals/modal_canvas/modal_canvas.html.erb
coveragebook_components-0.19.7 app/components/coco/modals/modal_canvas/modal_canvas.html.erb
coveragebook_components-0.19.6 app/components/coco/modals/modal_canvas/modal_canvas.html.erb
coveragebook_components-0.19.5 app/components/coco/modals/modal_canvas/modal_canvas.html.erb