class Primer::Alpha::ActionMenu

def with_avatar_item(**system_arguments, &block)

Parameters:
  • system_arguments (Hash) -- The arguments accepted by <%= link_to_component(Primer::Alpha::ActionList::Item) %>.
  • avatar_arguments (Hash) -- Optional. The arguments accepted by <%= link_to_component(Primer::Beta::Avatar) %>.
  • full_name_scheme (Symbol) -- Optional. How to display the user's full name.
  • full_name (String) -- Optional. The user's full name.
  • username (String) -- The username associated with the avatar.
  • src (String) -- The source url of the avatar image.
def with_avatar_item(**system_arguments, &block)
  @list.with_avatar_item(**system_arguments, &block)
end