共用方式為


ParticipantMenuItemsCallback type

回呼,用於為 ParticipantList中的每個參與者提供自定義功能表項。

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