Class: UiComponents::DaisyUi::Action::Dropdown::Menu::ItemComponent

Inherits:
BaseComponent
  • Object
show all
Defined in:
app/components/ui_components/daisy_ui/action/dropdown/menu/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 Attribute Summary

Attributes inherited from BaseComponent

#slot_order

Instance Method Summary collapse

Methods inherited from BaseComponent

tracks_slot_order

Constructor Details

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



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

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

  super(**args)
end