Class: Railsboot::Button::InputComponent

Inherits:
Railsboot::ButtonComponent
  • Object
show all
Defined in:
app/components/railsboot/button/input_component.rb

Instance Method Summary collapse

Constructor Details

#initialize(**html_attributes) ⇒ InputComponent

Returns a new instance of InputComponent.



2
3
4
# File 'app/components/railsboot/button/input_component.rb', line 2

def initialize(**html_attributes)
  super(tag: "input", **html_attributes)
end