Sha256: 52d2f9e1d9df821a747c6402133ec28dbdfe4fe15d74e4421fc8a7dc31896dcf

Contents?: true

Size: 315 Bytes

Versions: 48

Compression:

Stored size: 315 Bytes

Contents

# frozen_string_literal: true

module Satis
  module SidebarMenu
    class Component < Satis::ApplicationComponent
      attr_reader :menu, :menu_options

      renders_many :items

      def initialize(menu, **options)
        super
        @menu = menu
        @menu_options = options
      end
    end
  end
end

Version data entries

48 entries across 48 versions & 1 rubygems

Version Path
satis-2.1.26 app/components/satis/sidebar_menu/component.rb
satis-2.1.24 app/components/satis/sidebar_menu/component.rb
satis-2.1.23 app/components/satis/sidebar_menu/component.rb
satis-2.1.22 app/components/satis/sidebar_menu/component.rb
satis-2.1.21 app/components/satis/sidebar_menu/component.rb
satis-2.1.20 app/components/satis/sidebar_menu/component.rb
satis-2.1.19 app/components/satis/sidebar_menu/component.rb
satis-2.1.18 app/components/satis/sidebar_menu/component.rb
satis-2.1.11 app/components/satis/sidebar_menu/component.rb
satis-2.1.10 app/components/satis/sidebar_menu/component.rb
satis-2.1.9 app/components/satis/sidebar_menu/component.rb
satis-2.1.8 app/components/satis/sidebar_menu/component.rb
satis-2.1.6 app/components/satis/sidebar_menu/component.rb
satis-2.1.5 app/components/satis/sidebar_menu/component.rb
satis-2.1.4 app/components/satis/sidebar_menu/component.rb
satis-2.1.3 app/components/satis/sidebar_menu/component.rb
satis-2.1.1 app/components/satis/sidebar_menu/component.rb
satis-2.1.0 app/components/satis/sidebar_menu/component.rb
satis-2.0.9 app/components/satis/sidebar_menu/component.rb
satis-2.0.8 app/components/satis/sidebar_menu/component.rb