'use client';


const require_rolldown_runtime = require('../../../../_virtual/rolldown_runtime.cjs');
let react = require("react");
let react_jsx_runtime = require("react/jsx-runtime");

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

//#endregion
exports.MarkdownProvider = MarkdownProvider;
exports.useMarkdownContext = useMarkdownContext;
//# sourceMappingURL=MarkdownProvider.cjs.map