Sha256: 52d2f9e1d9df821a747c6402133ec28dbdfe4fe15d74e4421fc8a7dc31896dcf

Contents?: true

Size: 315 Bytes

Versions: 47

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

47 entries across 47 versions & 1 rubygems

Version Path
satis-2.1.47 app/components/satis/sidebar_menu/component.rb
satis-2.1.46 app/components/satis/sidebar_menu/component.rb
satis-2.1.45 app/components/satis/sidebar_menu/component.rb
satis-2.1.44 app/components/satis/sidebar_menu/component.rb
satis-2.1.43 app/components/satis/sidebar_menu/component.rb
satis-2.1.42 app/components/satis/sidebar_menu/component.rb
satis-2.1.41 app/components/satis/sidebar_menu/component.rb
satis-2.1.40 app/components/satis/sidebar_menu/component.rb
satis-2.1.39 app/components/satis/sidebar_menu/component.rb
satis-2.1.38 app/components/satis/sidebar_menu/component.rb
satis-2.1.37 app/components/satis/sidebar_menu/component.rb
satis-2.1.36 app/components/satis/sidebar_menu/component.rb
satis-2.1.35 app/components/satis/sidebar_menu/component.rb
satis-2.1.33 app/components/satis/sidebar_menu/component.rb
satis-2.1.31 app/components/satis/sidebar_menu/component.rb
satis-2.1.30 app/components/satis/sidebar_menu/component.rb
satis-2.1.29 app/components/satis/sidebar_menu/component.rb
satis-2.1.28 app/components/satis/sidebar_menu/component.rb
satis-2.1.27 app/components/satis/sidebar_menu/component.rb
satis-2.1.26 app/components/satis/sidebar_menu/component.rb