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.20 app/components/satis/menu_item/component.rb
satis-2.1.19 app/components/satis/menu_item/component.rb
satis-2.1.18 app/components/satis/menu_item/component.rb
satis-2.1.11 app/components/satis/menu_item/component.rb
satis-2.1.10 app/components/satis/menu_item/component.rb
satis-2.1.9 app/components/satis/menu_item/component.rb
satis-2.1.8 app/components/satis/menu_item/component.rb
satis-2.1.6 app/components/satis/menu_item/component.rb
satis-2.1.5 app/components/satis/menu_item/component.rb
satis-2.1.4 app/components/satis/menu_item/component.rb
satis-2.1.3 app/components/satis/menu_item/component.rb
satis-2.1.1 app/components/satis/menu_item/component.rb
satis-2.1.0 app/components/satis/menu_item/component.rb
satis-2.0.9 app/components/satis/menu_item/component.rb
satis-2.0.8 app/components/satis/menu_item/component.rb
satis-2.0.7 app/components/satis/menu_item/component.rb