jiti-meet/react/features/recording/components/LiveStream/StopLiveStreamDialog.native.js

38 lines
905 B
JavaScript

// @flow
import React from 'react';
import { connect } from 'react-redux';
import { DialogContent } from '../../../base/dialog';
import { translate } from '../../../base/i18n';
import AbstractStopLiveStreamDialog, {
_mapStateToProps
} from './AbstractStopLiveStreamDialog';
/**
* A React Component for confirming the participant wishes to stop the currently
* active live stream of the conference.
*
* @extends Component
*/
class StopLiveStreamDialog extends AbstractStopLiveStreamDialog {
/**
* Renders the platform specific {@code Dialog} content.
*
* @inheritdoc
*/
_renderDialogContent() {
return (
<DialogContent>
{
this.props.t('dialog.stopStreamingWarning')
}
</DialogContent>
);
}
}
export default translate(connect(_mapStateToProps)(StopLiveStreamDialog));