Method: Primer::Alpha::ActionMenu::List#with_avatar_item

Defined in:
app/components/primer/alpha/action_menu/list.rb

#with_avatar_item(**system_arguments, &block) ⇒ Object

[View source]

40
41
42
43
44
45
46
# File 'app/components/primer/alpha/action_menu/list.rb', line 40

def with_avatar_item(**system_arguments, &block)
  @items << {
    type: :avatar_item,
    kwargs: organize_arguments(**system_arguments),
    block: block
  }
end