"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.Portal = void 0;

var _compat = require("preact/compat");

const Portal = ({
  into,
  children
}) => {
  const container = document.querySelector(into);
  return (0, _compat.createPortal)(children, container);
};

exports.Portal = Portal;