/**
 * title: "基础形态"
 * description: "通过 open 方法唤起提醒， 提醒内容content 支持定制"
 */
import React from 'react';
import { Button, Notification } from '@alicloud/console-components';
var openNotification = function (type, content) {
    if (content === void 0) { content = '提醒内容置于页面右上，边距各8px'; }
    Notification.open({
        content: content,
        type: type,
        duration: 100000,
    });
};
export default (function () {
    return (React.createElement(Button, { type: "primary", onClick: function () { return openNotification('notice'); } }, "\u9ED8\u8BA4"));
});
