Sha256: 85b7cabd342b204fb3eaa08931db92d39f466a36bab3315850a4e38169a2218c

Contents?: true

Size: 303 Bytes

Versions: 9

Compression:

Stored size: 303 Bytes

Contents

<%= render Primer::BaseComponent.new(**@system_arguments) do %>
  <% if content.present? %>
    <%= content %>
  <% else %>
    <%= render Primer::OcticonComponent.new(:paste) %>
    <%= render Primer::OcticonComponent.new(:check, color: :icon_success, style: "display: none;") %>
  <% end %>
<% end %>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
primer_view_components-0.0.58 app/components/primer/clipboard_copy.html.erb
primer_view_components-0.0.57 app/components/primer/clipboard_copy.html.erb
primer_view_components-0.0.56 app/components/primer/clipboard_copy.html.erb
primer_view_components-0.0.55 app/components/primer/clipboard_copy.html.erb
primer_view_components-0.0.54 app/components/primer/clipboard_copy.html.erb
primer_view_components-0.0.53 app/components/primer/clipboard_copy.html.erb
primer_view_components-0.0.52 app/components/primer/clipboard_copy.html.erb
primer_view_components-0.0.51 app/components/primer/clipboard_copy.html.erb
primer_view_components-0.0.50 app/components/primer/clipboard_copy.html.erb