Class: Irelia::Dropdown::Component::DropdownItem

Inherits:
Button::Component
  • Object
show all
Defined in:
app/components/irelia/dropdown/component.rb

Instance Method Summary collapse

Constructor Details

#initialize(**options) ⇒ DropdownItem

Returns a new instance of DropdownItem.



46
47
48
49
50
# File 'app/components/irelia/dropdown/component.rb', line 46

def initialize(**options)
  options[:size] = :sm
  options[:variant] = :dropdown_item
  super(**options)
end