Class: Railsboot::Button::LinkComponent

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

Instance Method Summary collapse

Constructor Details

#initialize(**html_attributes) ⇒ LinkComponent

Returns a new instance of LinkComponent.



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

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