2.0.0-beta.2 • Published 3 months ago

@tamu-dor/pdf-invoice v2.0.0-beta.2

Weekly downloads
1
License
ISC
Repository
github
Last release
3 months 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);
  }
}
2.0.0-beta.2

3 months ago

2.0.0-beta.1

10 months ago

2.0.0-beta.0

10 months ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.7

3 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago