jiti-meet/react/features/base/dialog/components/native/DialogContainer.js

26 lines
698 B
JavaScript
Raw Normal View History

2019-03-21 16:38:29 +00:00
import { connect } from '../../../redux';
import AbstractDialogContainer, {
abstractMapStateToProps
} from '../AbstractDialogContainer';
/**
* Implements a DialogContainer responsible for showing all dialogs. We will
* need a separate container so we can handle multiple dialogs by showing them
* simultaneously or queueing them.
*
* @extends AbstractDialogContainer
*/
class DialogContainer extends AbstractDialogContainer {
/**
* Implements React's {@link Component#render()}.
*
* @inheritdoc
* @returns {ReactElement}
*/
render() {
return this._renderDialogContent();
}
}
export default connect(abstractMapStateToProps)(DialogContainer);