import {
  usePortalContainer
} from "./chunk-QRZZDWL4.js";
import {
  __spreadProps,
  __spreadValues
} from "./chunk-2NMEKWO5.js";

// src/atoms/popover.tsx
import { Popover as RadixPopover } from "@radix-ui/themes";
import { jsx } from "react/jsx-runtime";
function Content(props) {
  const { popoverContainerRef } = usePortalContainer();
  return /* @__PURE__ */ jsx(RadixPopover.Content, __spreadValues({ container: popoverContainerRef.current }, props));
}
var Popover = __spreadProps(__spreadValues({}, RadixPopover), {
  Content
});

export {
  Popover
};
//# sourceMappingURL=chunk-B4EPDEXS.js.map