ParticipantMenuItemsCallback type

A callback for providing custom menu items for each participant in ParticipantList.

type ParticipantMenuItemsCallback = (
  participantUserId: string,
  userId?: string,
  defaultMenuItems?: IContextualMenuItem[]
) => IContextualMenuItem[]