Generate a PDF with react-print
This documentation provides an example of how to use the FileforgeClient to generate a hosted PDF file from HTML.
Prerequisites
Ensure you have the following:
- An API key for Fileforge as an environment variable: process.env.FILEFORGE_API_KEY
- Node.js and npm installed.
- The Fileforge Client installed.
- react-print installed.