'use strict';
var React = require('react');
var Dialog = require('rc-dialog');
function noop(){}
var Modal = React.createClass({
handleCancel() {
this.refs.d.requestClose();
},
getDefaultProps(){
return {
onOk:noop,
onCancel:noop,
onBeforeClose:noop
};
},
handleOk() {
this.props.onOk();
},
render() {
var props = this.props;
var footer = [
,
];
return
}
});
module.exports = Modal;