"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Overlay = void 0;
const tslib_1 = require("tslib");
const classnames_1 = tslib_1.__importDefault(require("classnames"));
const react_1 = tslib_1.__importDefault(require("react"));
const modal_1 = require("../modal");
require("./styles.less");
const Overlay = ({ maskClosable = false, closable = true, className, onClose, children, footer, title, getContainer, keyboard, ...restProps }) => (react_1.default.createElement(modal_1.Modal, { footer: footer ? footer : null, maskClosable: maskClosable, closable: closable, onCancel: onClose, title: title, getContainer: getContainer, className: (0, classnames_1.default)('kt-overlay', className), keyboard: keyboard, ...restProps }, children));
exports.Overlay = Overlay;
//# sourceMappingURL=index.js.map