Method: Primer::Alpha::ActionMenu#with_avatar_item
- Defined in:
- app/components/primer/alpha/action_menu.rb
permalink #with_avatar_item(**system_arguments, &block) ⇒ Object
Adds an avatar item to the list. Avatar items are a convenient way to accessibly add an item with a leading avatar image.
293 294 295 |
# File 'app/components/primer/alpha/action_menu.rb', line 293 def with_avatar_item(**system_arguments, &block) @list.with_avatar_item(**system_arguments, &block) end |