feat(dialog) removed native CustomDialog
This commit is contained in:
parent
fa9f4588c2
commit
b5c68c2b6a
|
@ -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);
|
|
@ -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';
|
||||
|
|
Loading…
Reference in New Issue