2022-07-07 08:57:48 +00:00
|
|
|
import React from 'react';
|
|
|
|
import { useTranslation } from 'react-i18next';
|
|
|
|
import { Text, View } from 'react-native';
|
|
|
|
|
|
|
|
import EndMeetingButton from './EndMeetingButton';
|
|
|
|
import SoundDeviceButton from './SoundDeviceButton';
|
2022-10-11 10:47:54 +00:00
|
|
|
// eslint-disable-next-line lines-around-comment
|
2022-07-18 13:16:08 +00:00
|
|
|
// @ts-ignore
|
2022-07-07 08:57:48 +00:00
|
|
|
import styles from './styles';
|
|
|
|
|
|
|
|
/**
|
2022-07-08 08:27:27 +00:00
|
|
|
* Implements the car mode footer component.
|
2022-07-07 08:57:48 +00:00
|
|
|
*
|
2022-07-08 08:27:27 +00:00
|
|
|
* @returns { JSX.Element} - The car mode footer component.
|
2022-07-07 08:57:48 +00:00
|
|
|
*/
|
|
|
|
const CarModeFooter = (): JSX.Element => {
|
|
|
|
const { t } = useTranslation();
|
|
|
|
|
|
|
|
return (
|
|
|
|
<View
|
|
|
|
pointerEvents = 'box-none'
|
|
|
|
style = { styles.bottomContainer }>
|
|
|
|
<Text style = { styles.videoStoppedLabel }>
|
2022-10-14 12:15:30 +00:00
|
|
|
{ t('carmode.labels.videoStopped') }
|
2022-07-07 08:57:48 +00:00
|
|
|
</Text>
|
|
|
|
<SoundDeviceButton />
|
|
|
|
<EndMeetingButton />
|
|
|
|
</View>
|
|
|
|
);
|
|
|
|
};
|
|
|
|
|
|
|
|
export default CarModeFooter;
|