Sha256: ef4dbfbe22f49b0c377c6856c297b3002bf8a97b43242811546e809ac9f6b6b3

Contents?: true

Size: 531 Bytes

Versions: 9

Compression:

Stored size: 531 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 type="hidden" data-image-crop-input="x" name="cropped_x">
  <input type="hidden" data-image-crop-input="y" name="cropped_y">
  <input type="hidden" data-image-crop-input="width" name="cropped_width">
  <input type="hidden" data-image-crop-input="height" name="cropped_height">
<% end %>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
primer_view_components-0.0.48 app/components/primer/image_crop.html.erb
primer_view_components-0.0.47 app/components/primer/image_crop.html.erb
primer_view_components-0.0.46 app/components/primer/image_crop.html.erb
primer_view_components-0.0.45 app/components/primer/image_crop.html.erb
primer_view_components-0.0.44 app/components/primer/image_crop.html.erb
primer_view_components-0.0.43 app/components/primer/image_crop.html.erb
primer_view_components-0.0.42 app/components/primer/image_crop.html.erb
primer_view_components-0.0.41 app/components/primer/image_crop.html.erb
primer_view_components-0.0.40 app/components/primer/image_crop.html.erb