Sha256: 1f590583fa82bf9716d9a89ad5f27c697c97c2c53613959f18e32ef98ec1c0f4

Contents?: true

Size: 233 Bytes

Versions: 2

Compression:

Stored size: 233 Bytes

Contents

<%= render(Yattho::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

2 entries across 2 versions & 1 rubygems

Version Path
yattho_view_components-0.1.1 app/components/yattho/beta/octicon.html.erb
yattho_view_components-0.0.1 app/components/yattho/beta/octicon.html.erb