"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
var react_1 = __importDefault(require("react"));
var console_components_1 = require("@alicloud/console-components");
var popupConfirm = function () {
    console_components_1.Dialog.alert({
        title: 'title',
        messageProps: { type: 'success' },
        content: react_1.default.createElement("div", { style: { maxWidth: 450 } }, 'content'),
        okProps: { children: 'ok' },
        footerActions: ['ok'],
    });
};
exports.default = (function () {
    return (react_1.default.createElement("div", null,
        react_1.default.createElement(console_components_1.Button, { onClick: popupConfirm }, "\u6B63\u5E38\u63D0\u793A")));
});
