Class: LightningUiKit::LinkComponent
- Inherits:
-
BaseComponent
- Object
- ViewComponent::Base
- BaseComponent
- LightningUiKit::LinkComponent
- Defined in:
- app/components/lightning_ui_kit/link_component.rb
Instance Method Summary collapse
-
#initialize(title:, url:) ⇒ LinkComponent
constructor
A new instance of LinkComponent.
Methods inherited from BaseComponent
Methods included from HeroiconHelper
Constructor Details
#initialize(title:, url:) ⇒ LinkComponent
Returns a new instance of LinkComponent.
4 5 6 7 |
# File 'app/components/lightning_ui_kit/link_component.rb', line 4 def initialize(title:, url:) @title = title @url = url end |