import React, { Component } from 'react'; import {getImageUrl} from 'educoder'; import { Spin, Icon , Modal} from 'antd'; class Modals extends Component { constructor(props) { super(props); this.state = { funmodalsType:false, istype:false } } render() { const antIcons = return( {this.props.modalsType===true?:""}

{this.props.modalsTopval}

{this.props.modalsMidval===undefined?"":

{this.props.modalsMidval}

}

{this.props.modalsBottomval}

{this.props.loadtype===true?
知道啦
:
取消 {this.props.okText || '确定'}
}
) } } export default Modals;