Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@garage-panda/react-pdf-export

Package Overview
Dependencies
Maintainers
3
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@garage-panda/react-pdf-export - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

2

package.json
{
"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 @@ }

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc