Sha256: b3e88bcc271d1f5ae417d180d46a354aea984ea2e5c0e4eaf45676be9092b667

Contents?: true

Size: 426 Bytes

Versions: 21

Compression:

Stored size: 426 Bytes

Contents

# frozen_string_literal: true

module Satis
  module Breadcrumbs
    class Crumb < ViewComponent::Base
      attr_reader :path, :title, :icon

      def initialize(path:, title: nil, icon: nil)
        @path = path
        @title = title
        @icon = icon
      end
    end

    class Component < Satis::ApplicationComponent

      renders_many :crumbs, Crumb
      def initialize
        super
      end
    end
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
satis-2.1.18 app/components/satis/breadcrumbs/component.rb
satis-2.1.11 app/components/satis/breadcrumbs/component.rb
satis-2.1.10 app/components/satis/breadcrumbs/component.rb
satis-2.1.9 app/components/satis/breadcrumbs/component.rb
satis-2.1.8 app/components/satis/breadcrumbs/component.rb
satis-2.1.6 app/components/satis/breadcrumbs/component.rb
satis-2.1.5 app/components/satis/breadcrumbs/component.rb
satis-2.1.4 app/components/satis/breadcrumbs/component.rb
satis-2.1.3 app/components/satis/breadcrumbs/component.rb
satis-2.1.1 app/components/satis/breadcrumbs/component.rb
satis-2.1.0 app/components/satis/breadcrumbs/component.rb
satis-2.0.9 app/components/satis/breadcrumbs/component.rb
satis-2.0.8 app/components/satis/breadcrumbs/component.rb
satis-2.0.7 app/components/satis/breadcrumbs/component.rb
satis-1.0.75 app/components/satis/breadcrumbs/component.rb
satis-1.0.74 app/components/satis/breadcrumbs/component.rb
satis-1.0.70 app/components/satis/breadcrumbs/component.rb
satis-1.0.69 app/components/satis/breadcrumbs/component.rb
satis-1.0.68 app/components/satis/breadcrumbs/component.rb
satis-1.0.67 app/components/satis/breadcrumbs/component.rb