Class: Railsboot::Button::LinkComponent
- Inherits:
-
Railsboot::ButtonComponent
- Object
- Railsboot::ButtonComponent
- Railsboot::Button::LinkComponent
- Defined in:
- app/components/railsboot/button/link_component.rb
Instance Method Summary collapse
-
#initialize(**html_attributes) ⇒ LinkComponent
constructor
A new instance of LinkComponent.
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 |