'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

require('./src/message.vue.js');
var vue = require('vue');
var message_vue_vue_type_script_setup_true_lang = require('./src/message.vue2.js');

"use strict";
const MeMessage = (data, handler) => {
  const div = document.createElement("div");
  document.body.appendChild(div);
  const vnode = vue.createVNode(message_vue_vue_type_script_setup_true_lang.default, {
    data,
    handler,
    onClosed: () => {
      div.remove();
    }
  });
  vue.render(vnode, div);
};

exports.MeMessage = MeMessage;
exports.default = MeMessage;
//# sourceMappingURL=index.js.map
