"use client";
import { Fragment, jsx } from "react/jsx-runtime";
import { useContext } from "react";
import { PropsContext } from "../../../runtimes/react/components/SlotProvider";
function Slot(props) {
  const ctx = useContext(PropsContext);
  return /* @__PURE__ */ jsx(Fragment, { children: props.showFallback ? ctx.fallback : props.children });
}
var Slot_default = Slot;
export {
  Slot_default as default
};
//# sourceMappingURL=Slot.js.map