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

38 lines
905 B
JavaScript
Raw Normal View History

2018-07-05 13:17:45 +02:00
// @flow
import React from 'react';
import { connect } from 'react-redux';
import { DialogContent } from '../../../base/dialog';
2018-07-05 13:17:45 +02:00
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>
2018-07-05 13:17:45 +02:00
);
}
}
export default translate(connect(_mapStateToProps)(StopLiveStreamDialog));