Skip to content

Latest commit

 

History

History
27 lines (16 loc) · 330 Bytes

README.md

File metadata and controls

27 lines (16 loc) · 330 Bytes

PdfImg

A React component to render pdf documents as images.

Installation

Install it as any other npm module:

$ npm install pdf-img

Usage

  <PdfImg
    src={testPdf}
    page="1"
    style={{ width: 300 }} />

Example

Interactive Example