Sha256: cccbe9ecbf396d10915cec8bc261fb0e884b18b32ae11518e9cb1988b12ae608

Contents?: true

Size: 291 Bytes

Versions: 85

Compression:

Stored size: 291 Bytes

Contents

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

Version data entries

85 entries across 85 versions & 2 rubygems

Version Path
primer_view_components-0.5.1 app/components/primer/beta/clipboard_copy.html.erb
primer_view_components-0.5.0 app/components/primer/beta/clipboard_copy.html.erb
primer_view_components-0.4.0 app/components/primer/beta/clipboard_copy.html.erb
primer_view_components-0.3.1 app/components/primer/beta/clipboard_copy.html.erb
primer_view_components-0.3.0 app/components/primer/beta/clipboard_copy.html.erb
primer_view_components-0.2.0 app/components/primer/beta/clipboard_copy.html.erb
primer_view_components-0.1.9 app/components/primer/beta/clipboard_copy.html.erb
primer_view_components-0.1.8 app/components/primer/beta/clipboard_copy.html.erb
primer_view_components-0.1.7 app/components/primer/beta/clipboard_copy.html.erb
primer_view_components-0.1.6 app/components/primer/beta/clipboard_copy.html.erb
primer_view_components-0.1.5 app/components/primer/beta/clipboard_copy.html.erb
primer_view_components-0.1.4 app/components/primer/beta/clipboard_copy.html.erb
primer_view_components-0.1.3 app/components/primer/beta/clipboard_copy.html.erb
primer_view_components-0.1.2 app/components/primer/beta/clipboard_copy.html.erb
primer_view_components-0.1.1 app/components/primer/beta/clipboard_copy.html.erb
primer_view_components-0.1.0 app/components/primer/beta/clipboard_copy.html.erb
primer_view_components-0.0.123 app/components/primer/beta/clipboard_copy.html.erb
primer_view_components-0.0.122 app/components/primer/beta/clipboard_copy.html.erb
primer_view_components-0.0.121 app/components/primer/beta/clipboard_copy.html.erb
primer_view_components-0.0.120 app/components/primer/beta/clipboard_copy.html.erb