2.0.0-beta.3 • Published 12 months ago

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

Weekly downloads
1
License
ISC
Repository
github
Last release
12 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.3

12 months ago

2.0.0-beta.2

1 year ago

2.0.0-beta.1

2 years ago

2.0.0-beta.0

2 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago