Partilhar via


ParticipantListProps type

Props para ParticipantList.

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