react-antd-admin-panel
Version:
Easy prototyping admin panel using React and Antd
25 lines • 638 B
JavaScript
import Default from "./Default";
export default class Modal extends Default {
constructor() {
super('Modal');
this._size = 640;
this._align = 'right';
this._mask = true;
this._maskClosable = true;
this.open = () => { };
this.close = () => { };
}
align(value) {
this._align = value;
return this;
}
maskDisabled(value = false) {
this._mask = value;
return this;
}
maskClosableDisabled(value = false) {
this._maskClosable = value;
return this;
}
}
//# sourceMappingURL=Modal.js.map