Class: Irelia::Dropdown::Component::DropdownItem
- Inherits:
-
Button::Component
- Object
- Button::Component
- Irelia::Dropdown::Component::DropdownItem
- Defined in:
- app/components/irelia/dropdown/component.rb
Instance Method Summary collapse
-
#initialize(**options) ⇒ DropdownItem
constructor
A new instance of DropdownItem.
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(**) [:size] = :sm [:variant] = :dropdown_item super(**) end |