Needlessly Postulating Minds
Unleash awesomeness. Private packages, team management tools, and powerful integrations. Get started with npm Orgs »

react-pdfobject

1.1.0 • Public • Published

react-pdfobject

CircleCI Codecov npm version License

A React component for PDFObject .

npm install react-pdfobject

Usage

import * as React from 'react'
import { PDFObject } from 'react-pdfobject'
 
<PDFObject url="path/to/example.pdf" />

Props

interface Props {
  url: string;
  containerId?: string;
  containerProps?: React.HTMLProps<HTMLDivElement>;
  width?: string;
  height?: string;
  page?: string | number;
  id?: string;
  fallbackLink?: string | false;
}

ref: https://pdfobject.com/#api

License

MIT

© sugarshin

install

npm i react-pdfobject

Downloadsweekly downloads

68

version

1.1.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability