PDF
This is the easiest way to create, edit and download PDFs using React.
Why use this?
You might be creating an app that requires print outs (e.g. invoices/ receipts/ contracts).
How to use?
- Install the NPM package
- Note: Use their 'StyleSheet' for styling to prevent errors
- Instead of 'div' and 'h1', you will use 'Document', 'Page', 'View' and 'Text'
- To render the PDF on screen, use 'PDFViewer'
- Apply styles to 'PDFViewer' to style everything outside the contents of the PDF
Styled A5 PDF with Images