mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2026-05-16 06:17:48 +00:00
28 lines
863 B
TypeScript
28 lines
863 B
TypeScript
|
|
import React from 'react';
|
||
|
|
import { useTranslation } from 'react-i18next';
|
||
|
|
import { Text, View } from 'react-native';
|
||
|
|
|
||
|
|
import LoadingIndicator from '../../../base/react/components/native/LoadingIndicator';
|
||
|
|
import BaseTheme from '../../../base/ui/components/BaseTheme.native';
|
||
|
|
import styles from '../../../lobby/components/native/styles';
|
||
|
|
|
||
|
|
/**
|
||
|
|
* The component that renders visitors queue UI.
|
||
|
|
*
|
||
|
|
* @returns {ReactElement}
|
||
|
|
*/
|
||
|
|
export default function VisitorsQueue() {
|
||
|
|
const { t } = useTranslation();
|
||
|
|
|
||
|
|
return (
|
||
|
|
<View style = { styles.lobbyWaitingFragmentContainer }>
|
||
|
|
<Text style = { styles.lobbyTitle }>
|
||
|
|
{ t('visitors.waitingMessage') }
|
||
|
|
</Text>
|
||
|
|
<LoadingIndicator
|
||
|
|
color = { BaseTheme.palette.icon01 }
|
||
|
|
style = { styles.loadingIndicator } />
|
||
|
|
</View>
|
||
|
|
);
|
||
|
|
}
|