Class: UiComponents::DaisyUi::Action::Dropdown::ListItemComponent

Inherits:
BaseComponent
  • Object
show all
Defined in:
app/components/ui_components/daisy_ui/action/dropdown/list_item_component.rb

Constant Summary

Constants inherited from BaseComponent

BaseComponent::ALIGNS, BaseComponent::AXES, BaseComponent::COLORS, BaseComponent::CSS_CLASSES, BaseComponent::CSS_CLASSES_DEFAULT, BaseComponent::CSS_CLASSES_VARIANTS, BaseComponent::KINDS, BaseComponent::SIZES

Instance Method Summary collapse

Constructor Details

#initialize(with_tag_a: true, **args) ⇒ ListItemComponent

Returns a new instance of ListItemComponent.



18
19
20
21
22
23
24
25
# File 'app/components/ui_components/daisy_ui/action/dropdown/list_item_component.rb', line 18

def initialize(
    with_tag_a: true,
    **args
  )
  @with_tag_a = with_tag_a

  super(**args)
end