@ballerine/react-pdf-toolkit
TypeScript icon, indicating that this package has built-in type declarations

1.2.3 • Public • Published

React + TypeScript + Vite

This package provides tools and templates for PDF generation using React in both Front-End & BackEnd environments.

Available templates

ReportTemplate

DevMode

npm run dev - To start application with preview of base ReportTemplate

Build

npm run build - Builds the bundle.

Note

Before calling one of @react-pdf/renderer methods such as renderToStream, renderToFile fonts must be registered.

import {Font, renderToFile} from '@react-pdf/renderer'
import {registerFonts} from '@ballerine/react-pdf-toolkit'

registerFont(Font)

renderToFile()

Readme

Keywords

none

Package Sidebar

Install

npm i @ballerine/react-pdf-toolkit

Weekly Downloads

126

Version

1.2.3

License

none

Unpacked Size

9.06 MB

Total Files

228

Last publish

Collaborators

  • ballerine-dev
  • omri-levy-ballerine
  • alonp99