@garage-panda/react-pdf-export
Advanced tools
Comparing version 0.1.0 to 0.1.1
{ | ||
"name": "@garage-panda/react-pdf-export", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "A PDF generator for React applications", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -15,2 +15,4 @@ # Important | ||
[Example code in stackblitz](https://stackblitz.com/edit/react-enpvi5?file=src%2FApp.js) | ||
## Installation | ||
@@ -42,11 +44,12 @@ | ||
<React.Fragment> | ||
<button onClick={generatePdf}>Click me</button> | ||
<PdfExport containerRef={containerRef}> | ||
<h1>This is the content of the PDF in here</h1> | ||
<div> | ||
<p>Yes, you can put any child</p> | ||
<div>Because it's awesome!</div> | ||
</div> | ||
</PdfExport> | ||
</React.Fragment> | ||
<PdfExport containerRef={containerRef}> | ||
<h1>This is the content of the PDF in here</h1> | ||
<div> | ||
<p>Yes, you can put any child</p> | ||
<div>Because it's awesome!</div> | ||
</div> | ||
</PdfExport> | ||
<br /> | ||
<button onClick={generatePdf}>Generate PDF</button> | ||
</React.Fragment> | ||
); | ||
@@ -53,0 +56,0 @@ } |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
13634
75
0