mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2026-01-15 03:00:19 +00:00
23 lines
453 B
JavaScript
23 lines
453 B
JavaScript
// @flow
|
|
|
|
import { connect } from 'react-redux';
|
|
|
|
import BaseDialog, { type Props } from './BaseDialog';
|
|
|
|
/**
|
|
* Implements a custom dialog component, where the content can freely be
|
|
* rendered.
|
|
*/
|
|
class CustomDialog extends BaseDialog<Props, *> {
|
|
/**
|
|
* Implements {@code BaseDialog._renderContent}.
|
|
*
|
|
* @inheritdoc
|
|
*/
|
|
_renderContent() {
|
|
return this.props.children;
|
|
}
|
|
}
|
|
|
|
export default connect()(CustomDialog);
|