"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.HTMLViewer = void 0;
const tslib_1 = require("tslib");
const React = tslib_1.__importStar(require("react"));
const html_1 = require("../../../utils/stringifiers/html");
exports.HTMLViewer = ({ srcDoc }) => {
    if (!srcDoc) {
        return null;
    }
    return React.createElement("iframe", { className: "w-full RequestMaker__HTMLViewer", srcDoc: html_1.stringifyHTML(srcDoc), sandbox: "", height: "100%" });
};
//# sourceMappingURL=HTMLViewer.js.map