0.0.13 • Published 5 years ago

react-typescript-pdf-reader v0.0.13

Weekly downloads
16
License
MIT
Repository
github
Last release
5 years ago

react-typescript-pdf-reader

GitHub issues GitHub forks GitHub stars GitHub license Twitter FOSSA Status

banner

Pdf reader for create react app

Demo

https://sumn2u.github.io/react-typescript-pdf-reader/

Table of Contents

Install

npm i react-typescript-pdf-reader -S

# or

yarn add react-typescript-pdf-reader

Usage

import PDFReader from 'react-typescript-pdf-reader'

state = {
    pdfUrl: 'https://arxiv.org/pdf/1801.10031v1.pdf' // or use any pdf url
}

render(){
 let { pdfUrl } = this.state

   <PDFReader pdfUrl={pdfUrl} />
}
## Params

| Name                | Type     | Default    | Description                                                          |
| ------------------- | -------- | ---------- | -------------------------------------------------------------------- |
| `pdfUrl`            | PDF      | `null`     | **Required.** The pdf file which you are going to display            |

Testing

npm run test or yarn run test

Contribute

Small note: If editing the README, please conform to the standard-readme specification.

License

MIT © sumn2u

FOSSA Status

0.0.13

5 years ago

0.0.12

5 years ago

0.0.11

5 years ago

0.0.10

5 years ago

0.0.9

5 years ago

0.0.8

5 years ago

0.0.7

5 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago