Class: SolidusAdmin::UI::Panel::Component

Inherits:
BaseComponent
  • Object
show all
Defined in:
app/components/solidus_admin/ui/panel/component.rb

Instance Method Summary collapse

Constructor Details

#initialize(title: nil, title_hint: nil) ⇒ Component

Returns a new instance of Component.

Parameters:

  • title (String) (defaults to: nil)

    the title of the panel

  • title_hint (String) (defaults to: nil)

    the title hint of the panel



32
33
34
35
# File 'app/components/solidus_admin/ui/panel/component.rb', line 32

def initialize(title: nil, title_hint: nil)
  @title = title
  @title_hint = title_hint
end