const rootDomElement: any = document.getElementById('root');
const newBlock = (
<div>
<p>The New Content</>
</div>
);
ReactDOM.createPortal(newBlock, rootDomElement);
// you can return it too
// return ReactDOM.createPortal(PDFPopup, RootDomElement);