Class: Grid::Container::ContainerComponent

Inherits:
ViewComponent::Base
  • Object
show all
Defined in:
app/components/grid/container/container_component.rb

Instance Method Summary collapse

Constructor Details

#initialize(**options) ⇒ ContainerComponent

Returns a new instance of ContainerComponent.



6
7
8
9
10
11
# File 'app/components/grid/container/container_component.rb', line 6

def initialize(**options)
  @container = options[:container]
  @classes = options[:classes]

  @container_class = container_class
end