@lesnoypudge/utils-react
Version:
lesnoypudge's utils-react
19 lines (18 loc) • 480 B
JavaScript
import "react";
import { ContextConsumerProxy } from "../../components/ContextConsumerProxy/ContextConsumerProxy.js";
import { jsx } from "react/jsx-runtime";
const createContextConsumerProxy = (context) => {
const ConsumerProxy = ({
children
}) => {
return /* @__PURE__ */ jsx(ContextConsumerProxy, {
context,
children
});
};
return ConsumerProxy;
};
export {
createContextConsumerProxy
};
//# sourceMappingURL=createContextConsumerProxy.js.map