mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2026-05-16 11:27:48 +00:00
Remove unnecessary @ts-ignores Use @ts-expect-error instead of @ts-ignore for external dependencies
31 lines
842 B
TypeScript
31 lines
842 B
TypeScript
import React from 'react';
|
|
import { useTranslation } from 'react-i18next';
|
|
import { Text, View, ViewStyle } from 'react-native';
|
|
|
|
import EndMeetingButton from './EndMeetingButton';
|
|
import SoundDeviceButton from './SoundDeviceButton';
|
|
import styles from './styles';
|
|
|
|
/**
|
|
* Implements the car mode footer component.
|
|
*
|
|
* @returns { JSX.Element} - The car mode footer component.
|
|
*/
|
|
const CarModeFooter = (): JSX.Element => {
|
|
const { t } = useTranslation();
|
|
|
|
return (
|
|
<View
|
|
pointerEvents = 'box-none'
|
|
style = { styles.bottomContainer as ViewStyle }>
|
|
<Text style = { styles.videoStoppedLabel }>
|
|
{ t('carmode.labels.videoStopped') }
|
|
</Text>
|
|
<SoundDeviceButton />
|
|
<EndMeetingButton />
|
|
</View>
|
|
);
|
|
};
|
|
|
|
export default CarModeFooter;
|