diff --git a/react/features/base/dialog/components/native/CustomDialog.js b/react/features/base/dialog/components/native/CustomDialog.js deleted file mode 100644 index f7702a569..000000000 --- a/react/features/base/dialog/components/native/CustomDialog.js +++ /dev/null @@ -1,23 +0,0 @@ -// @flow - -import { connect } from '../../../redux'; -import { _abstractMapStateToProps } from '../../functions'; - -import BaseDialog, { type Props } from './BaseDialog'; - -/** - * Implements a custom dialog component, where the content can freely be - * rendered. - */ -class CustomDialog extends BaseDialog { - /** - * Implements {@code BaseDialog._renderContent}. - * - * @inheritdoc - */ - _renderContent() { - return this.props.children; - } -} - -export default connect(_abstractMapStateToProps)(CustomDialog); diff --git a/react/features/base/dialog/components/native/index.js b/react/features/base/dialog/components/native/index.js index aabd917c0..078a1417e 100644 --- a/react/features/base/dialog/components/native/index.js +++ b/react/features/base/dialog/components/native/index.js @@ -2,7 +2,6 @@ export { default as BottomSheet } from './BottomSheet'; export { default as ConfirmDialog } from './ConfirmDialog'; -export { default as CustomDialog } from './CustomDialog'; export { default as DialogContainer } from './DialogContainer'; export { default as AlertDialog } from './AlertDialog'; export { default as InputDialog } from './InputDialog';