Class: Avo::PanelNameComponent
- Inherits:
-
ViewComponent::Base
- Object
- ViewComponent::Base
- Avo::PanelNameComponent
- Defined in:
- app/components/avo/panel_name_component.rb
Instance Method Summary collapse
-
#initialize(name:, url: nil, target: :self, classes: "") ⇒ PanelNameComponent
constructor
A new instance of PanelNameComponent.
Constructor Details
#initialize(name:, url: nil, target: :self, classes: "") ⇒ PanelNameComponent
Returns a new instance of PanelNameComponent.
6 7 8 9 10 11 |
# File 'app/components/avo/panel_name_component.rb', line 6 def initialize(name:, url: nil, target: :self, classes: "") @name = name @url = url @target = target @classes = classes end |