'use strict';

var React = require('react');

function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }

var React__default = /*#__PURE__*/_interopDefault(React);

// src/shared/PortalContainerContext.tsx
var PortalContainerContext = /* @__PURE__ */ React.createContext(void 0);
function PortalContainerProvider({
  container,
  children
}) {
  return /* @__PURE__ */ React__default.default.createElement(PortalContainerContext.Provider, {
    value: container
  }, children);
}
function usePortalContainer() {
  return React.useContext(PortalContainerContext);
}

exports.PortalContainerProvider = PortalContainerProvider;
exports.usePortalContainer = usePortalContainer;
//# sourceMappingURL=chunk-DWNKXV5E.cjs.map
//# sourceMappingURL=chunk-DWNKXV5E.cjs.map