Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

StopLiveStreamDialog.native.js 1004B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. // @flow
  2. import React from 'react';
  3. import { Text, View } from 'react-native';
  4. import { connect } from 'react-redux';
  5. import { translate } from '../../../base/i18n';
  6. import styles from '../styles';
  7. import AbstractStopLiveStreamDialog, {
  8. _mapStateToProps
  9. } from './AbstractStopLiveStreamDialog';
  10. /**
  11. * A React Component for confirming the participant wishes to stop the currently
  12. * active live stream of the conference.
  13. *
  14. * @extends Component
  15. */
  16. class StopLiveStreamDialog extends AbstractStopLiveStreamDialog {
  17. /**
  18. * Renders the platform specific {@code Dialog} content.
  19. *
  20. * @inheritdoc
  21. */
  22. _renderDialogContent() {
  23. return (
  24. <View style = { styles.messageContainer }>
  25. <Text>
  26. {
  27. this.props.t('dialog.stopStreamingWarning')
  28. }
  29. </Text>
  30. </View>
  31. );
  32. }
  33. }
  34. export default translate(connect(_mapStateToProps)(StopLiveStreamDialog));