Class: Protos::Dropdown::Item
- Defined in:
- lib/protos/dropdown/item.rb
Instance Method Summary collapse
-
#view_template ⇒ Object
DOCS: A single item within a dropdown.
Methods inherited from Component
Constructor Details
This class inherits a constructor from Protos::Component
Instance Method Details
#view_template ⇒ Object
DOCS: A single item within a dropdown
8 9 10 |
# File 'lib/protos/dropdown/item.rb', line 8 def view_template(&) li(**attrs, &) end |