1.0.2 • Published 5 years ago

incca-react-pdf v1.0.2

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

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