Files
jitsi-meet/react/features/base/dialog/components/native/CustomDialog.js

24 lines
540 B
JavaScript
Raw Normal View History

2018-10-18 10:28:08 +02:00
// @flow
2019-03-21 17:38:29 +01:00
import { connect } from '../../../redux';
import { _abstractMapStateToProps } from '../../functions';
2018-10-18 10:28:08 +02:00
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(_abstractMapStateToProps)(CustomDialog);