An open API service indexing awesome lists of open source software.

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.

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.