pdf-slideshow
TypeScript icon, indicating that this package has built-in type declarations

0.1.4 • Public • Published

pdf-slideshow

Creates a slideshow from a pdf file.

NPM JavaScript Style Guide

Install

npm install --save pdf-slideshow

Usage

Have the correct pdf.worker.min.js available.

import React, { Component } from "react";

import PdfSlideShow, { setPdfJsWorkerPath } from "pdf-slideshow";

setPdfJsWorkerPath("pdf.worker.min.js");

export default class App extends Component {
  render() {
    return (
      <div>
        <PdfSlideShow pdfLocation="/example.pdf" />
      </div>
    );
  }
}

License

Apache-2.0 © nygrenh

Readme

Keywords

none

Package Sidebar

Install

npm i pdf-slideshow

Weekly Downloads

17

Version

0.1.4

License

Apache-2.0

Unpacked Size

17.8 MB

Total Files

17

Last publish

Collaborators

  • nygrenh