import { render as t, unmount as u } from "./render.mjs";
function m(e) {
  const n = document.createElement("div");
  document.body.appendChild(n);
  function o() {
    u(n) && n.parentNode && n.parentNode.removeChild(n);
  }
  return t(e, n), o;
}
export {
  m as renderToBody
};
