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.

RecordingWarning.tsx 664B

12345678910111213141516171819202122232425262728
  1. import React from 'react';
  2. import { useTranslation } from 'react-i18next';
  3. import {
  4. StyleProp,
  5. Text,
  6. TextStyle,
  7. View,
  8. ViewStyle
  9. } from 'react-native';
  10. import { preJoinStyles as styles } from './styles';
  11. const RecordingWarning = (): JSX.Element => {
  12. const { t } = useTranslation();
  13. return (
  14. <View style = { styles.recordingWarning as StyleProp<ViewStyle> }>
  15. <Text
  16. numberOfLines = { 1 }
  17. style = { styles.recordingWarningText as StyleProp<TextStyle> }>
  18. { t('prejoin.recordingWarning') }
  19. </Text>
  20. </View>
  21. );
  22. };
  23. export default RecordingWarning;