1.2.0 • Published 7 years ago

react-pdf-js-infinite v1.2.0

Weekly downloads
657
License
MIT
Repository
github
Last release
7 years ago

react-pdf-js-infinite


react-pdf-js-infinite provides a component for rendering PDF documents using PDF.js. Written for React 15 and ES2015 using the Airbnb style guide.


Usage

Install with npm install react-pdf-js-infinite

Use in your app

import React from 'react';
import PDF from 'react-pdf-js-infinite';

export default class MyPdfViewer extends React.Component {

  render() {
    return (
      <div>
        <PDF file="somefile.pdf" scale={1.5} />
      </div>
    )
  }
}

Credit

This project is a fork of react-pdf-js which is a fork of react-pdfjs which itself was a port of react-pdf, so thank you to the original authours.

1.2.0

7 years ago

1.1.5

7 years ago

1.1.4

7 years ago

1.1.3

7 years ago

1.1.2

7 years ago

1.1.0

7 years ago

1.0.0

7 years ago