Sha256: 3cf81c37a9ae92ac691b1bdd07f9ba787452827e0c7827b6f26e72392122cf90

Contents?: true

Size: 810 Bytes

Versions: 35

Compression:

Stored size: 810 Bytes

Contents

<ol role="list" class="flex items-center space-x-4">

  <% @items.each.with_index do |item, i| %>
    <li>
      <div class="flex items-center">
        <% if i.positive? %>
          <!-- Heroicon name: solid/chevron-right -->
          <svg class="flex-shrink-0 h-5 w-5 text-gray-400" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true">
            <path fill-rule="evenodd" d="M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z" clip-rule="evenodd" />
          </svg>
        <% end %>
        <a href="<%= item[:path] %>" class="<%= 'ml-4' unless i.zero? %> text-sm font-medium text-gray-500 hover:text-gray-700">
          <%= item[:label] %>
        </a>
      </div>
    </li>
  <% end %>
</ol>

Version data entries

35 entries across 35 versions & 2 rubygems

Version Path
tybo-0.0.13 app/components/forms/breadcrumb_component.html.erb
tybo-0.0.12 app/components/forms/breadcrumb_component.html.erb
tybo-0.0.11 app/components/forms/breadcrumb_component.html.erb
tybo-0.0.10 app/components/forms/breadcrumb_component.html.erb
tybo-0.0.9 app/components/forms/breadcrumb_component.html.erb
tybo-0.0.8 app/components/forms/breadcrumb_component.html.erb
tybo-0.0.7 app/components/forms/breadcrumb_component.html.erb
tybo-0.0.6 app/components/forms/breadcrumb_component.html.erb
tybo-0.0.5 app/components/forms/breadcrumb_component.html.erb
tybo-0.0.4 app/components/forms/breadcrumb_component.html.erb
tybo-0.0.3 lib/app/components/forms/breadcrumb_component.html.erb
tybo-0.0.1 lib/app/components/forms/breadcrumb_component.html.erb
backoffice-components-0.0.1.3 lib/app/components/forms/breadcrumb_component.html.erb
backoffice-components-0.0.1.2 lib/app/components/forms/breadcrumb_component.html.erb
backoffice-components-0.0.1.1 lib/app/components/forms/breadcrumb_component.html.erb