"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
/**
 * title: "非模态遮罩"
 * description: "对话框唤起后默认自带模态遮罩，通过hasMask属性控制遮罩是否显示"
 */
var react_1 = __importDefault(require("react"));
var console_components_1 = require("@alicloud/console-components");
var popupConfirm = function () {
    console_components_1.Dialog.confirm({
        title: '正常提示',
        content: '详细文本信息或状态描述',
        onOk: function () { return console.log('ok'); },
        onCancel: function () { return console.log('cancel'); },
        closeable: false,
        hasMask: false,
    });
};
exports.default = (function () {
    return (react_1.default.createElement("div", null,
        react_1.default.createElement(console_components_1.Button, { onClick: popupConfirm }, "\u6B63\u5E38\u63D0\u793A")));
});
