|
|
|
@ -28,6 +28,7 @@ interface IModalProps
|
|
|
|
|
logo?: boolean;
|
|
|
|
|
helpUrl?: string;
|
|
|
|
|
isImpExp?: boolean;
|
|
|
|
|
configurationType?: string;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export class CommonModal extends Component<IModalProps>{
|
|
|
|
@ -53,7 +54,8 @@ export class CommonModal extends Component<IModalProps>{
|
|
|
|
|
store={this.props.store}
|
|
|
|
|
style={this.props.footerStyle}
|
|
|
|
|
rootStyle={this.props.footerRootStyle}
|
|
|
|
|
type={this.props.type} >
|
|
|
|
|
type={this.props.type}
|
|
|
|
|
configurationType={this.props.configurationType}>
|
|
|
|
|
{
|
|
|
|
|
this.props.footerChildren
|
|
|
|
|
}
|
|
|
|
@ -224,6 +226,7 @@ interface IModalFooterProps
|
|
|
|
|
type?: BoardModalType,
|
|
|
|
|
isImpExp?: boolean;
|
|
|
|
|
rootStyle?: React.CSSProperties,
|
|
|
|
|
configurationType: string;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export class ModalFooter extends Component<IModalFooterProps>
|
|
|
|
@ -239,7 +242,7 @@ export class ModalFooter extends Component<IModalFooterProps>
|
|
|
|
|
<div className={Classes.DIALOG_FOOTER} style={this.props.rootStyle} >
|
|
|
|
|
{
|
|
|
|
|
this.props.hasConfig &&
|
|
|
|
|
<UserConfig isExpImp={this.props.isImpExp} store={this.props.store} type={this.props.type} />
|
|
|
|
|
<UserConfig isExpImp={this.props.isImpExp} store={this.props.store} type={this.props.type} configurationType={this.props.configurationType} />
|
|
|
|
|
}
|
|
|
|
|
<div className={Classes.DIALOG_FOOTER_ACTIONS} style={this.props.style}>
|
|
|
|
|
{this.props.children}
|
|
|
|
|