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.61 app/components/primer/octicon_component.html.erb
primer_view_components-0.0.60 app/components/primer/octicon_component.html.erb
primer_view_components-0.0.59 app/components/primer/octicon_component.html.erb
primer_view_components-0.0.58 app/components/primer/octicon_component.html.erb
primer_view_components-0.0.57 app/components/primer/octicon_component.html.erb
primer_view_components-0.0.56 app/components/primer/octicon_component.html.erb
primer_view_components-0.0.55 app/components/primer/octicon_component.html.erb
primer_view_components-0.0.54 app/components/primer/octicon_component.html.erb
primer_view_components-0.0.53 app/components/primer/octicon_component.html.erb
primer_view_components-0.0.52 app/components/primer/octicon_component.html.erb
primer_view_components-0.0.51 app/components/primer/octicon_component.html.erb
primer_view_components-0.0.50 app/components/primer/octicon_component.html.erb
primer_view_components-0.0.49 app/components/primer/octicon_component.html.erb
primer_view_components-0.0.48 app/components/primer/octicon_component.html.erb
primer_view_components-0.0.47 app/components/primer/octicon_component.html.erb
primer_view_components-0.0.46 app/components/primer/octicon_component.html.erb
primer_view_components-0.0.45 app/components/primer/octicon_component.html.erb
primer_view_components-0.0.44 app/components/primer/octicon_component.html.erb
primer_view_components-0.0.43 app/components/primer/octicon_component.html.erb
primer_view_components-0.0.42 app/components/primer/octicon_component.html.erb