import React from 'react';
import { Button, Dialog } from '@alicloud/console-components';
var popupConfirm = function () {
    Dialog.alert({
        title: 'title',
        messageProps: { type: 'success' },
        content: React.createElement("div", { style: { maxWidth: 450 } }, 'content'),
        okProps: { children: 'ok' },
        footerActions: ['ok'],
    });
};
export default (function () {
    return (React.createElement("div", null,
        React.createElement(Button, { onClick: popupConfirm }, "\u6B63\u5E38\u63D0\u793A")));
});
