Sha256: 3ea42bb4fe282fe3946a7fefab50720b60ac31e585985b892b0c6e2e5360d65f

Contents?: true

Size: 233 Bytes

Versions: 222

Compression:

Stored size: 233 Bytes

Contents

<%= render(Primer::BaseComponent.new(**@system_arguments)) do %>
  <% if @use_symbol %>
    <use href="#octicon_<%= [@icon.symbol, @icon.height].join("_") %>"></use>
  <% else %>
    <%= @icon.path.html_safe %>
  <% end %>
<% end %>

Version data entries

222 entries across 222 versions & 2 rubygems

Version Path
primer_view_components-0.0.121 app/components/primer/beta/octicon.html.erb
primer_view_components-0.0.120 app/components/primer/beta/octicon.html.erb
primer_view_components-0.0.119 app/components/primer/beta/octicon.html.erb
primer_view_components-0.0.118 app/components/primer/beta/octicon.html.erb
primer_view_components-0.0.117 app/components/primer/beta/octicon.html.erb
primer_view_components-0.0.116 app/components/primer/beta/octicon.html.erb
primer_view_components-0.0.115 app/components/primer/beta/octicon.html.erb
primer_view_components-0.0.114 app/components/primer/octicon_component.html.erb
primer_view_components-0.0.113 app/components/primer/octicon_component.html.erb
primer_view_components-0.0.112 app/components/primer/octicon_component.html.erb
primer_view_components-0.0.111 app/components/primer/octicon_component.html.erb
primer_view_components-0.0.110 app/components/primer/octicon_component.html.erb
primer_view_components-0.0.109 app/components/primer/octicon_component.html.erb
primer_view_components-0.0.108 app/components/primer/octicon_component.html.erb
primer_view_components-0.0.107 app/components/primer/octicon_component.html.erb
primer_view_components-0.0.106 app/components/primer/octicon_component.html.erb
primer_view_components-0.0.105 app/components/primer/octicon_component.html.erb
primer_view_components-0.0.104 app/components/primer/octicon_component.html.erb
primer_view_components-0.0.103 app/components/primer/octicon_component.html.erb
primer_view_components-0.0.102 app/components/primer/octicon_component.html.erb