https://github.com/neginsal/report-preview
This project generates a PDF document using the @react-pdf/renderer package.
https://github.com/neginsal/report-preview
react-pdf-renderer reactjs
Last synced: about 1 year ago
JSON representation
This project generates a PDF document using the @react-pdf/renderer package.
- Host: GitHub
- URL: https://github.com/neginsal/report-preview
- Owner: NeginSal
- Created: 2024-11-15T08:23:14.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-11-16T18:19:55.000Z (over 1 year ago)
- Last Synced: 2025-01-31T15:27:17.220Z (over 1 year ago)
- Topics: react-pdf-renderer, reactjs
- Language: JavaScript
- Homepage:
- Size: 209 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Report Document Generator
This project generates a PDF document using the `@react-pdf/renderer` package. It organizes images into rows and pages, includes a footer with company details, and adds a signature page at the end.
## How to Start
1. Clone the repository & then go to projcet directory
2. Install dependencies: `npm install`
3. Start the development server: `npm start`
The app will be available at http://localhost:3000.
## What This Project Does
Takes an array of images (with titles and URLs) as input.
Generates a PDF document with:
- Images arranged in rows of two per page.
- A footer displaying page numbers, company name, and logo.
- A signature page at the end.
## Dependencies
`@react-pdf/renderer`: For rendering PDF documents.