react-html2pdf-forked

0.0.4 • Public • Published

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

Package Sidebar

Install

npm i react-html2pdf-forked

Weekly Downloads

1

Version

0.0.4

License

MIT

Unpacked Size

10.6 kB

Total Files

13

Last publish

Collaborators

  • shinenbayar