Sha256: f98a65aa50e37a109efdbe8295762d7201d288573072e1b4e1b9cf032f954477

Contents?: true

Size: 294 Bytes

Versions: 36

Compression:

Stored size: 294 Bytes

Contents

# frozen_string_literal: true

module Satis
  module MenuItem
    class Component < Satis::ApplicationComponent
      with_collection_parameter :item
      attr_reader :item

      # renders_many :items
      def initialize(**options)
        @item = options[:item]
      end
    end
  end
end

Version data entries

36 entries across 36 versions & 1 rubygems

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