npm package diff
Package: @forge/react
Versions: 10.8.0 - 10.9.0-next.0
File: package/out/components/adf-renderer.js
Index: package/out/components/adf-renderer.js
===================================================================
--- package/out/components/adf-renderer.js
+++ package/out/components/adf-renderer.js
@@ -0,0 +1,12 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+exports.AdfRenderer = void 0;
+const jsx_runtime_1 = require("react/jsx-runtime");
+const replaceUnsupportedDocumentNodes_1 = require("./utils/replaceUnsupportedDocumentNodes");
+const PlatformAdfRenderer = 'AdfRenderer';
+const AdfRenderer = (props) => {
+ const { replaceUnsupportedNode, document, ...adfRendererProps } = props;
+ const replacedDocument = (0, replaceUnsupportedDocumentNodes_1.replaceUnsupportedDocumentNodes)(document, replaceUnsupportedNode);
+ return (0, jsx_runtime_1.jsx)(PlatformAdfRenderer, { ...adfRendererProps, document: replacedDocument });
+};
+exports.AdfRenderer = AdfRenderer;