'use client';


import { createContext, useContext } from "react";
import { jsx } from "react/jsx-runtime";

//#region ../react-intlayer/dist/esm/markdown/MarkdownProvider.mjs
const MarkdownContext = createContext({ renderMarkdown: (markdown) => markdown });
const useMarkdownContext = () => useContext(MarkdownContext);
const MarkdownProvider = ({ children, renderMarkdown }) => /* @__PURE__ */ jsx(MarkdownContext.Provider, {
	value: { renderMarkdown },
	children
});

//#endregion
export { MarkdownProvider, useMarkdownContext };
//# sourceMappingURL=MarkdownProvider.mjs.map