@sajn/embed-react 0.1.1 → 0.1.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.
Files changed (2) hide show
  1. package/README.md +30 -0
  2. package/package.json +1 -1
package/README.md ADDED
@@ -0,0 +1,30 @@
1
+ # @sajn/embed-react
2
+
3
+ React component for embedding sajn's e-signature functionality directly into your applications.
4
+
5
+ ## Installation
6
+
7
+ ```bash
8
+ npm install @sajn/embed-react
9
+ ```
10
+
11
+ ## Quick Start
12
+
13
+ ```tsx
14
+ import { EmbedSignDocument } from '@sajn/embed-react';
15
+
16
+ function App() {
17
+ return (
18
+ <EmbedSignDocument
19
+ documentId="your-document-id"
20
+ token="your-token"
21
+ onSignerCompleted={(data) => console.log('Signed!', data)}
22
+ onSignerRejected={(data) => console.log('Rejected', data)}
23
+ />
24
+ );
25
+ }
26
+ ```
27
+
28
+ ## Documentation
29
+
30
+ For full documentation, events, and configuration options, see the [main README](https://github.com/sajn-se/embeds#readme).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sajn/embed-react",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "React component for embedding sajn e-signature functionality",
5
5
  "homepage": "https://github.com/sajn-se/embeds#readme",
6
6
  "bugs": {