Sha256: b7b780a7ee89693199a460b3f17fb75933c275ee45912371930121e87377a81d

Contents?: true

Size: 429 Bytes

Versions: 22

Compression:

Stored size: 429 Bytes

Contents

# frozen_string_literal: true

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

      def initialize(path: nil, 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

22 entries across 22 versions & 1 rubygems

Version Path
satis-2.1.43 app/components/satis/breadcrumbs/component.rb
satis-2.1.42 app/components/satis/breadcrumbs/component.rb
satis-2.1.41 app/components/satis/breadcrumbs/component.rb
satis-2.1.40 app/components/satis/breadcrumbs/component.rb
satis-2.1.39 app/components/satis/breadcrumbs/component.rb
satis-2.1.38 app/components/satis/breadcrumbs/component.rb
satis-2.1.37 app/components/satis/breadcrumbs/component.rb
satis-2.1.36 app/components/satis/breadcrumbs/component.rb
satis-2.1.35 app/components/satis/breadcrumbs/component.rb
satis-2.1.33 app/components/satis/breadcrumbs/component.rb
satis-2.1.31 app/components/satis/breadcrumbs/component.rb
satis-2.1.30 app/components/satis/breadcrumbs/component.rb
satis-2.1.29 app/components/satis/breadcrumbs/component.rb
satis-2.1.28 app/components/satis/breadcrumbs/component.rb
satis-2.1.27 app/components/satis/breadcrumbs/component.rb
satis-2.1.26 app/components/satis/breadcrumbs/component.rb
satis-2.1.24 app/components/satis/breadcrumbs/component.rb
satis-2.1.23 app/components/satis/breadcrumbs/component.rb
satis-2.1.22 app/components/satis/breadcrumbs/component.rb
satis-2.1.21 app/components/satis/breadcrumbs/component.rb