React pdf
npm install @react-pdf/renderer --save
Terrible Turkey
npm install @react-pdf/renderer --save
var doc = new jsPDF();
doc.fromHTML(ReactDOMServer.renderToStaticMarkup(this.render()));
doc.save("myDocument.pdf");