import { jsx as n } from "react/jsx-runtime";
import { createContext as r, useContext as s } from "react";
const t = r(void 0), u = ({
  components: o,
  children: e
}) => /* @__PURE__ */ n(t.Provider, { value: o, children: e }), C = () => {
  const o = s(t);
  if (!o) throw new Error("useComponents must be used within ComponentProvider");
  return o;
};
export {
  u as C,
  C as u
};
//# sourceMappingURL=component-context-zfqHNFoT.js.map
