Sha256: 207f8ebe0238d9707c4b99bb117af59d29807c4d86080fe029e9ddc1ca04bd9a
Contents?: true
Size: 522 Bytes
Versions: 60
Compression:
Stored size: 522 Bytes
Contents
<% texts = [ "Breadcrumb Item 1", "Breadcrumb Item 2 with a really long, long, long name", "Breadcrumb Item 3 with an extremely long, long, long name" ] %> <%= render(Primer::Beta::Breadcrumbs.new) do |breadcrumbs| %> <% texts.each_with_index do |text, i| %> <% breadcrumbs.with_item(href: "##{i}") do %> <%= render(Primer::Beta::Truncate.new) do |truncate| %> <% truncate.with_item(max_width: 135) { text } %> <% end %> <% end %> <% end %> <% end %>
Version data entries
60 entries across 60 versions & 2 rubygems