import { c } from "react/compiler-runtime";
import { createContext, useContext } from "react";
import { jsx } from "react/jsx-runtime";
var ComponentOverridesContext = createContext({});
const ComponentOverridesProvider = (r) => {
	let i = c(3), { children: a, overrides: o } = r, s;
	return i[0] !== a || i[1] !== o ? (s = /* @__PURE__ */ jsx(ComponentOverridesContext.Provider, {
		value: o,
		children: a
	}), i[0] = a, i[1] = o, i[2] = s) : s = i[2], s;
}, useComponentOverrides = () => useContext(ComponentOverridesContext);
export { ComponentOverridesProvider, useComponentOverrides };
