feat(dialog) removed native CustomDialog

This commit is contained in:
Calin Chitu 2022-02-01 19:05:07 +02:00 committed by Calinteodor
parent fa9f4588c2
commit b5c68c2b6a
2 changed files with 0 additions and 24 deletions

View File

@ -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<Props, *> {
/**
* Implements {@code BaseDialog._renderContent}.
*
* @inheritdoc
*/
_renderContent() {
return this.props.children;
}
}
export default connect(_abstractMapStateToProps)(CustomDialog);

View File

@ -2,7 +2,6 @@
export { default as BottomSheet } from './BottomSheet'; export { default as BottomSheet } from './BottomSheet';
export { default as ConfirmDialog } from './ConfirmDialog'; export { default as ConfirmDialog } from './ConfirmDialog';
export { default as CustomDialog } from './CustomDialog';
export { default as DialogContainer } from './DialogContainer'; export { default as DialogContainer } from './DialogContainer';
export { default as AlertDialog } from './AlertDialog'; export { default as AlertDialog } from './AlertDialog';
export { default as InputDialog } from './InputDialog'; export { default as InputDialog } from './InputDialog';