import React from 'react';
import DOMPurify from 'dompurify';
var HtmlRenderer = function HtmlRenderer(_ref) {
  var htmlString = _ref.htmlString;
  var sanitizedHTML = DOMPurify.sanitize(htmlString);
  return /*#__PURE__*/React.createElement("div", {
    dangerouslySetInnerHTML: {
      __html: sanitizedHTML
    }
  });
};
export default HtmlRenderer;