Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

CarModeFooter.tsx 842B

123456789101112131415161718192021222324252627282930
  1. import React from 'react';
  2. import { useTranslation } from 'react-i18next';
  3. import { Text, View, ViewStyle } from 'react-native';
  4. import EndMeetingButton from './EndMeetingButton';
  5. import SoundDeviceButton from './SoundDeviceButton';
  6. import styles from './styles';
  7. /**
  8. * Implements the car mode footer component.
  9. *
  10. * @returns { JSX.Element} - The car mode footer component.
  11. */
  12. const CarModeFooter = (): JSX.Element => {
  13. const { t } = useTranslation();
  14. return (
  15. <View
  16. pointerEvents = 'box-none'
  17. style = { styles.bottomContainer as ViewStyle }>
  18. <Text style = { styles.videoStoppedLabel }>
  19. { t('carmode.labels.videoStopped') }
  20. </Text>
  21. <SoundDeviceButton />
  22. <EndMeetingButton />
  23. </View>
  24. );
  25. };
  26. export default CarModeFooter;