Class: Protos::Dropdown::Item

Inherits:
Component
  • Object
show all
Defined in:
lib/protos/dropdown/item.rb

Instance Method Summary collapse

Methods inherited from Component

#initialize

Constructor Details

This class inherits a constructor from Protos::Component

Instance Method Details

#view_templateObject

DOCS: A single item within a dropdown



8
9
10
# File 'lib/protos/dropdown/item.rb', line 8

def view_template(&)
  li(**attrs, &)
end