"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
/**
 * title: ""
 * description: ""
 */
var react_1 = __importDefault(require("react"));
var console_components_1 = require("@alicloud/console-components");
var Row = console_components_1.Grid.Row, Col = console_components_1.Grid.Col;
var showNotice = function () {
    return console_components_1.Message.notice({
        content: '这是一条询问消息，>=3s后主动消失',
        duration: 3000,
    });
};
var showSuccess = function () {
    return console_components_1.Message.success({
        content: '这是一条询问消息，>=3s后主动消失',
        duration: 3000,
    });
};
var showWarning = function () {
    return console_components_1.Message.warning({
        content: '这是一条询问消息，>=3s后主动消失',
        duration: 3000,
    });
};
var showError = function () {
    return console_components_1.Message.error({
        content: '这是一条询问消息，>=3s后主动消失',
        duration: 3000,
    });
};
var showHelp = function () {
    return console_components_1.Message.help({ content: '这是一条询问消息，>=3s后主动消失', duration: 3000 });
};
var showLoading = function () {
    return console_components_1.Message.loading({
        content: '这是一条询问消息，>=3s后主动消失',
        duration: 3000,
    });
};
exports.default = (function () {
    return (react_1.default.createElement(Row, null,
        react_1.default.createElement(Col, null,
            react_1.default.createElement(console_components_1.Button, { onClick: showSuccess }, "Message.success")),
        react_1.default.createElement(Col, null,
            react_1.default.createElement(console_components_1.Button, { onClick: showWarning }, "Message.warning")),
        react_1.default.createElement(Col, null,
            react_1.default.createElement(console_components_1.Button, { onClick: showError }, "Message.error")),
        react_1.default.createElement(Col, null,
            react_1.default.createElement(console_components_1.Button, { onClick: showNotice }, "Message.notice")),
        react_1.default.createElement(Col, null,
            react_1.default.createElement(console_components_1.Button, { onClick: showHelp }, "Message.help")),
        react_1.default.createElement(Col, null,
            react_1.default.createElement(console_components_1.Button, { onClick: showLoading }, "Message.loading"))));
});
