Class: Forms::SearchInputComponent
- Inherits:
-
ViewComponent::Base
- Object
- ViewComponent::Base
- Forms::SearchInputComponent
- Defined in:
- app/components/forms/search_input_component.rb
Instance Method Summary collapse
-
#initialize(label:) ⇒ SearchInputComponent
constructor
A new instance of SearchInputComponent.
Constructor Details
#initialize(label:) ⇒ SearchInputComponent
Returns a new instance of SearchInputComponent.
4 5 6 |
# File 'app/components/forms/search_input_component.rb', line 4 def initialize(label:) @label = label end |