@shznet/pdf-sign-react 0.2.1 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -5,7 +5,7 @@ React component wrapper for `@shznet/pdf-sign-control`.
5
5
  ## Installation
6
6
 
7
7
  ```bash
8
- npm install @shznet/pdf-sign-react pdfjs-dist
8
+ npm install @shznet/pdf-sign-react
9
9
  ```
10
10
 
11
11
  ## Usage
@@ -35,6 +35,12 @@ export function App() {
35
35
  }
36
36
  ```
37
37
 
38
+ ```tsx
39
+ <button onClick={() => controlRef.current?.print({ withSignatures: true })}>
40
+ Print PDF
41
+ </button>
42
+ ```
43
+
38
44
  ## Props
39
45
 
40
46
  | Prop | Type | Description |