import React from 'react'; import { translate } from '../../base/i18n'; import AbstractOverlay from './AbstractOverlay'; /** * Implements a React Component for suspended overlay. Shown when a suspend is * detected. */ class SuspendedOverlay extends AbstractOverlay { /** * Constructs overlay body with the message and a button to rejoin. * * @returns {ReactElement|null} * @override * @protected */ _renderOverlayContent() { const btnClass = 'inlay__button button-control button-control_primary'; const { t } = this.props; /* eslint-disable react/jsx-handler-names */ return (

{ t('suspendedoverlay.title') }

); /* eslint-enable react/jsx-handler-names */ } } export default translate(SuspendedOverlay);