Sha256: 0411650da91ec55d7bed7ca858cbac6332ae9516250bbf7f15dc4cf5c340d16a

Contents?: true

Size: 607 Bytes

Versions: 66

Compression:

Stored size: 607 Bytes

Contents

<%= render Primer::BaseComponent.new(**@system_arguments) do %>
  <% if loading.present? %>
    <%= loading %>
  <% else %>
    <%= render(Primer::SpinnerComponent.new(size: :large, flex: 1, "data-loading-slot": true)) %>
  <% end %>

  <input autocomplete="off" type="hidden" data-image-crop-input="x" name="cropped_x">
  <input autocomplete="off" type="hidden" data-image-crop-input="y" name="cropped_y">
  <input autocomplete="off" type="hidden" data-image-crop-input="width" name="cropped_width">
  <input autocomplete="off" type="hidden" data-image-crop-input="height" name="cropped_height">
<% end %>

Version data entries

66 entries across 66 versions & 1 rubygems

Version Path
primer_view_components-0.0.54 app/components/primer/image_crop.html.erb
primer_view_components-0.0.53 app/components/primer/image_crop.html.erb
primer_view_components-0.0.52 app/components/primer/image_crop.html.erb
primer_view_components-0.0.51 app/components/primer/image_crop.html.erb
primer_view_components-0.0.50 app/components/primer/image_crop.html.erb
primer_view_components-0.0.49 app/components/primer/image_crop.html.erb