1.0.7 • Published 1 year ago

@tamu-dor/pdf-invoice v1.0.7

Weekly downloads
1
License
ISC
Repository
github
Last release
1 year ago

@tamu-dor/pdfInvoice

ReactPDF component that displays invoice in pdf format.

Installation

Install it from npm and include it in your React build process (using Webpack, Browserify, etc).

npm install --save @tamu-dor/pdfInvoice

or:

yarn add @tamu-dor/pdfInvoice

Usage

On server side.

import React from 'react';
import { create } from '@tamu-dor/pdf-invoice';

function GenerateInvoicePdf(invoice) {
  try {
    const content = await create(invoice);
    return content;
  } catch (e) {
    console.log('failed to generate pdf invoice', e);
  }
}
1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago