Sha256: 7d246814bbf1c75d2cdf04a8dcf6583e705343be35ce73d98d857498cbcfc8e4
Contents?: true
Size: 581 Bytes
Versions: 20
Compression:
Stored size: 581 Bytes
Contents
<%# erblint:counter DeprecatedComponentsCounter 1 %> <% 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::Truncate.new(inline: true, max_width: 135)) { text } # rubocop:disable Migrations/TruncateComponent %> <% end %> <% end %> <% end %>
Version data entries
20 entries across 20 versions & 2 rubygems