text: "use strict";
  var __importDefault = (this && this.__importDefault) || function (mod) {
      return (mod && mod.__esModule) ? mod : { "default": mod };
  };
  Object.defineProperty(exports, "__esModule", { value: true });
  exports.PortalProvider = void 0;
  var react_1 = __importDefault(require("react"));
  var context_1 = require("./context");
  function PortalProvider(props) {
      return (react_1.default.createElement(context_1.PortalContext.Provider, { value: {
              boundaryElement: props.boundaryElement || null,
              element: props.element || document.body,
          } }, props.children));
  }
  exports.PortalProvider = PortalProvider;
  //# sourceMappingURL=provider.js.map