Class: JetUi::Dropdown::LinkComponent
- Inherits:
-
BaseComponent
- Object
- ViewComponent::Base
- BaseComponent
- JetUi::Dropdown::LinkComponent
- Defined in:
- app/components/jet_ui/dropdown/link_component.rb
Instance Method Summary collapse
-
#initialize(url: nil, active: false, **options) ⇒ LinkComponent
constructor
A new instance of LinkComponent.
Constructor Details
#initialize(url: nil, active: false, **options) ⇒ LinkComponent
Returns a new instance of LinkComponent.
6 7 8 9 10 |
# File 'app/components/jet_ui/dropdown/link_component.rb', line 6 def initialize(url: nil, active: false, **) @url = url @active = active @options = end |