0.0.4 • Published 1 year ago

react-html2pdf-forked v0.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

react-html2pdf

React and html to pdf generator

Install package

$ npm i react-html2pdf-forked

Usage

//import
import { Preview, print } from 'react-html2pdf';

//render
<Preview id={'jsx-template'} >
    <p>adsf</p>
</Preview>
<button onClick={()=>print('a', 'jsx-template')}> print</button>

License

MIT License. © 2022 Alkhimch