Class: UiComponents::DaisyUi::DataDisplay::List::ItemComponent

Inherits:
BaseComponent
  • Object
show all
Defined in:
app/components/ui_components/daisy_ui/data_display/list/item_component.rb

Constant Summary collapse

CSS_CLASSES_DEFAULT =
%w[list-row].freeze
CSS_CLASSES =
CSS_CLASSES_DEFAULT

Constants inherited from BaseComponent

BaseComponent::ALIGNS, BaseComponent::AXES, BaseComponent::COLORS, 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(row: true, **args) ⇒ ItemComponent

Returns a new instance of ItemComponent.



15
16
17
18
19
20
21
22
# File 'app/components/ui_components/daisy_ui/data_display/list/item_component.rb', line 15

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

  super(**args)
end