Class: LightningUiKit::Dropdown::ItemComponent
- Inherits:
-
BaseComponent
- Object
- BaseComponent
- LightningUiKit::Dropdown::ItemComponent
- Defined in:
- app/components/lightning_ui_kit/dropdown/item_component.rb
Instance Method Summary collapse
-
#initialize(title:) ⇒ ItemComponent
constructor
A new instance of ItemComponent.
Constructor Details
#initialize(title:) ⇒ ItemComponent
Returns a new instance of ItemComponent.
2 3 4 |
# File 'app/components/lightning_ui_kit/dropdown/item_component.rb', line 2 def initialize(title:) @title = title end |