Class: DaisyUI::BaseComponent

Inherits:
ViewComponent::Base
  • Object
show all
Defined in:
app/components/daisy_ui/base_component.rb

Instance Method Summary collapse

Constructor Details

#initialize(classes: nil, **system_arguments) ⇒ BaseComponent

Returns a new instance of BaseComponent.



5
6
7
8
9
# File 'app/components/daisy_ui/base_component.rb', line 5

def initialize(classes: nil, **system_arguments)
  super
  @classes = classes
  @system_arguments = system_arguments
end