Class: Avo::PanelNameComponent

Inherits:
ViewComponent::Base
  • Object
show all
Defined in:
app/components/avo/panel_name_component.rb

Instance Method Summary collapse

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