import { NodeWrapper } from "./index.mjs";
import { jsx } from "react/jsx-runtime";
import { NodeType } from "@intlayer/types";

//#region src/components/DictionaryEditor/NodeWrapper/MarkdownWrapper.tsx
const MarkdownWrapper = (props) => {
	const { keyPath, section } = props;
	const newKeyPath = [...keyPath, { type: NodeType.Markdown }];
	const subSection = section[NodeType.Markdown];
	return /* @__PURE__ */ jsx("div", {
		className: "ml-2 grid grid-cols-[auto,1fr] gap-2",
		children: /* @__PURE__ */ jsx(NodeWrapper, {
			...props,
			keyPath: newKeyPath,
			section: subSection
		})
	});
};

//#endregion
export { MarkdownWrapper };
//# sourceMappingURL=MarkdownWrapper.mjs.map