jspdf-react:用于 React 的包装器 jsPDF

时间:2021-08-05 00:28:01
【文件属性】:
文件名称:jspdf-react:用于 React 的包装器 jsPDF
文件大小:372KB
文件格式:ZIP
更新时间:2021-08-05 00:28:01
JavaScript jspdf-React 安装 npm install --save jspdf-react :warning: 注意:使用 CSS-in-JS、Styled-Component 或情感。 如果您想将 html 转换为 pdf,我建议使用该库。 用法 import React , { Component } from 'react' import PDF , { Text , AddPage , Line , Image , Table , Html } from 'jspdf-react' import OctoCatImage from './OctoCatImage' const styleH1 = { fontSize : '15px' , textAlign : 'center' , color : 'red' } ; const invisibleStyle = { d
【文件预览】:
jspdf-react-master
----.travis.yml(39B)
----.eslintrc(416B)
----example()
--------package.json(491B)
--------src()
--------public()
--------README.md(103KB)
--------yarn.lock(317KB)
----.babelrc(166B)
----rollup.config.js(807B)
----package.json(3KB)
----.github()
--------FUNDING.yml(711B)
----src()
--------Triangle.js(539B)
--------.eslintrc(36B)
--------Circle.js(631B)
--------index.js(502B)
--------Table.js(1KB)
--------Image.js(360B)
--------AddPage.js(350B)
--------PDF.js(4KB)
--------Line.js(362B)
--------Rectangle.js(721B)
--------Html.js(395B)
--------ChangePage.js(306B)
--------Text.js(624B)
----.gitignore(281B)
----README.md(3KB)
----yarn.lock(432KB)
----.editorconfig(147B)

网友评论