react-pdf-js:一个包装PDF.js的React组件

上传者: 42172572 | 上传时间: 2024-04-10 16:36:53 | 文件大小: 201KB | 文件类型: ZIP
react-pdf-js react-pdf-js提供了使用呈现PDF文档的组件。 演示版 用法 使用yarn add @mikecousins/react-pdf安装yarn add @mikecousins/react-pdf或npm install @mikecousins/react-pdf usePdf挂钩 使用应用程序中的钩子(还显示一些基本的分页): import React , { useState , useRef } from 'react' ; import { usePdf } from '@mikecousins/react-pdf' ; const MyPdfV

文件下载

资源详情

[{"title":"( 19 个子文件 201KB ) react-pdf-js:一个包装PDF.js的React组件","children":[{"title":"react-pdf-js-master","children":[{"title":".github","children":[{"title":"workflows","children":[{"title":"npmpublish.yml <span style='color:#111;'> 516B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"yarn.lock <span style='color:#111;'> 264.57KB </span>","children":null,"spread":false},{"title":"src","children":[{"title":"index.tsx <span style='color:#111;'> 6.69KB </span>","children":null,"spread":false},{"title":"types","children":[{"title":"pdfjs-dist","children":[{"title":"index.d.ts <span style='color:#111;'> 82B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"example","children":[{"title":"index.html <span style='color:#111;'> 326B </span>","children":null,"spread":false},{"title":"index.tsx <span style='color:#111;'> 1.16KB </span>","children":null,"spread":false},{"title":"yarn.lock <span style='color:#111;'> 219.28KB </span>","children":null,"spread":false},{"title":".npmignore <span style='color:#111;'> 24B </span>","children":null,"spread":false},{"title":"tsconfig.json <span style='color:#111;'> 457B </span>","children":null,"spread":false},{"title":"pdfs","children":[{"title":"basic.pdf <span style='color:#111;'> 8.62KB </span>","children":null,"spread":false}],"spread":true},{"title":"package.json <span style='color:#111;'> 484B </span>","children":null,"spread":false}],"spread":true},{"title":"tsconfig.json <span style='color:#111;'> 732B </span>","children":null,"spread":false},{"title":"LICENSE <span style='color:#111;'> 1.04KB </span>","children":null,"spread":false},{"title":"test","children":[{"title":"index.test.tsx <span style='color:#111;'> 4.46KB </span>","children":null,"spread":false}],"spread":true},{"title":"README.md <span style='color:#111;'> 6.64KB </span>","children":null,"spread":false},{"title":".editorconfig <span style='color:#111;'> 147B </span>","children":null,"spread":false},{"title":"CODE_OF_CONDUCT.md <span style='color:#111;'> 3.27KB </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 138B </span>","children":null,"spread":false},{"title":"package.json <span style='color:#111;'> 1.40KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明