Class: LabelComponent

Inherits:
ViewComponent::Base
  • Object
show all
Defined in:
app/components/LabelComponent/label_component.rb

Instance Method Summary collapse

Constructor Details

#initialize(options:, classes: '') ⇒ LabelComponent

Returns a new instance of LabelComponent.



4
5
6
7
# File 'app/components/LabelComponent/label_component.rb', line 4

def initialize(options:, classes: '')
  @options = options
  @classes = classes
end