Sha256: 193de971bd4a49dbca413d38ec147c4f3272945430f3d3f09a6c7f751b12614c

Contents?: true

Size: 425 Bytes

Versions: 11

Compression:

Stored size: 425 Bytes

Contents

<%= render Primer::BaseComponent.new(**@system_arguments) do %>
  <ol>
    <% items.each do |item| %>
      <%# The <li> and <a> need to be on the same line to prevent unwanted whitespace %>
      <%= render Primer::BaseComponent.new(**item.system_arguments) do %><%- if item.href.present? %><a href="<%= item.href %>"><%= item.content %></a><%- else %><%= item.content %><%- end %><%- end %>
    <% end %>
  </ol>
<% end %>

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
primer_view_components-0.0.23 app/components/primer/breadcrumb_component.html.erb
primer_view_components-0.0.22 app/components/primer/breadcrumb_component.html.erb
primer_view_components-0.0.21 app/components/primer/breadcrumb_component.html.erb
primer_view_components-0.0.20 app/components/primer/breadcrumb_component.html.erb
primer_view_components-0.0.19 app/components/primer/breadcrumb_component.html.erb
primer_view_components-0.0.18 app/components/primer/breadcrumb_component.html.erb
primer_view_components-0.0.17 app/components/primer/breadcrumb_component.html.erb
primer_view_components-0.0.16 app/components/primer/breadcrumb_component.html.erb
primer_view_components-0.0.15 app/components/primer/breadcrumb_component.html.erb
primer_view_components-0.0.14 app/components/primer/breadcrumb_component.html.erb
primer_view_components-0.0.13 app/components/primer/breadcrumb_component.html.erb