I've been working on pdf generation that can generate pdf files from HTML with minimum memory size. I found this package https://react-pdf.org/
When I try to render the live preview with
ReactPDF.render(<Component/>) it throws error
__WEBPACK_IMPORTED_MODULE_1__react_pdf_renderer__.f.render is not a function
Anyone know why or what's the alternative way to generate pdf from HTML with minimum memory size?