mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2026-05-16 17:17:47 +00:00
27 lines
696 B
JavaScript
27 lines
696 B
JavaScript
|
|
import { connect } from 'react-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);
|