You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

CarModeFooter.tsx 881B

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