import './src/message.vue.mjs';
import { createVNode, render } from 'vue';
import script from './src/message.vue2.mjs';

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

export { MeMessage, MeMessage as default };
//# sourceMappingURL=index.mjs.map
