共用方式為


ParticipantListProps type

ParticipantList的屬性。

type ParticipantListProps = {
  excludeMe?: boolean
  myUserId?: string
  onFetchParticipantMenuItems?: ParticipantMenuItemsCallback
  onParticipantClick?: (participant?: ParticipantListParticipant) => void
  onRemoveParticipant?: (userId: string) => void
  onRenderAvatar?: OnRenderAvatarCallback
  onRenderParticipant?: (
    participant: ParticipantListParticipant
  ) => JSX.Element | null
  participants: ParticipantListParticipant[]
  showParticipantOverflowTooltip?: boolean
  styles?: ParticipantListStyles
}