Class: Panda::Core::Admin::ContainerComponent

Inherits:
Base
  • Object
show all
Defined in:
app/components/panda/core/admin/container_component.rb

Constant Summary

Constants inherited from Base

Base::TAILWIND_MERGER

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(full_height: false, **attrs) ⇒ ContainerComponent

Returns a new instance of ContainerComponent.



13
14
15
16
# File 'app/components/panda/core/admin/container_component.rb', line 13

def initialize(full_height: false, **attrs)
  @full_height = full_height
  super(**attrs)
end

Instance Attribute Details

#full_heightObject (readonly)

Returns the value of attribute full_height.



18
19
20
# File 'app/components/panda/core/admin/container_component.rb', line 18

def full_height
  @full_height
end