jraleman / react-pdf-viewer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

react-pdf-viewer

This project was bootstrapped with Create React App.

Available Scripts

In the project directory, you can run:

yarn start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

yarn build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about deployment for more information.

Learn More

You can learn more in the Create React App documentation.

To learn React, check out the React documentation.

Props

pdfPath

string;

timeout

Type: number

Unrender the component once a certain threshold is reached of time this can be useful for trials (preview app)

opacity

number;

disableCopy

boolean;

scale

number;

rotate

0 | 90 | 180 | 270;

maxPages

number;

Resources

About


Languages

Language:TypeScript 88.2%Language:HTML 11.8%