Licence
MIT
Version
1.0.2
Deps
3
Size
9 kB
Vulns
15
Weekly
0
incca-react-pdf
convert html to pdf This is a copy package of the react-html2pdf forked to work in a private project of Incca Sistemas
Install package
$ npm i incca-react-pdf
Usage
//import
import { Preview, print } from 'incca-react-pdf';
//render
<Preview id={'jsx-template'} >
<p>adsf</p>
</Preview>
<button onClick={()=>print('a', 'jsx-template')}> print</button>
License
MIT License. 2018 San Pyae Lin