UNPKG

communication-react-19

Version:

React library for building modern communication user experiences utilizing Azure Communication Services (React 19 compatible fork)

18 lines 959 B
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import { ParticipantList } from "../../../../react-components/src"; import React from 'react'; import { ParticipantContainer } from '../common/ParticipantContainer'; import { useLocale } from '../localization'; import { usePropsFor } from './hooks/usePropsFor'; /** * @private */ export const ChatScreenPeoplePane = (props) => { const { onFetchAvatarPersonaData, onFetchParticipantMenuItems, isMobile } = props; const locale = useLocale(); const chatListHeader = locale.strings.chat.chatListHeader; const participantListProps = usePropsFor(ParticipantList); return (React.createElement(ParticipantContainer, { participantListProps: participantListProps, title: chatListHeader, onFetchAvatarPersonaData: onFetchAvatarPersonaData, onFetchParticipantMenuItems: onFetchParticipantMenuItems, isMobile: isMobile })); }; //# sourceMappingURL=ChatScreenPeoplePane.js.map