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.81 app/components/primer/octicon_component.html.erb
primer_view_components-0.0.80 app/components/primer/octicon_component.html.erb
primer_view_components-0.0.79 app/components/primer/octicon_component.html.erb
primer_view_components-0.0.78 app/components/primer/octicon_component.html.erb
primer_view_components-0.0.77 app/components/primer/octicon_component.html.erb
primer_view_components-0.0.76 app/components/primer/octicon_component.html.erb
primer_view_components-0.0.75 app/components/primer/octicon_component.html.erb
primer_view_components-0.0.74 app/components/primer/octicon_component.html.erb
primer_view_components-0.0.73 app/components/primer/octicon_component.html.erb
primer_view_components-0.0.72 app/components/primer/octicon_component.html.erb
primer_view_components-0.0.71 app/components/primer/octicon_component.html.erb
primer_view_components-0.0.70 app/components/primer/octicon_component.html.erb
primer_view_components-0.0.69 app/components/primer/octicon_component.html.erb
primer_view_components-0.0.68 app/components/primer/octicon_component.html.erb
primer_view_components-0.0.67 app/components/primer/octicon_component.html.erb
primer_view_components-0.0.66 app/components/primer/octicon_component.html.erb
primer_view_components-0.0.65 app/components/primer/octicon_component.html.erb
primer_view_components-0.0.64 app/components/primer/octicon_component.html.erb
primer_view_components-0.0.63 app/components/primer/octicon_component.html.erb
primer_view_components-0.0.62 app/components/primer/octicon_component.html.erb