@netlib/widerrufsbutton 1.0.5 → 1.0.6
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 +3 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@ Widerrufsformular einbettbares JavaScript-Widget (React + TypeScript, IIFE-Build
|
|
|
4
4
|
|
|
5
5
|
## Rechtliche Grundlage
|
|
6
6
|
|
|
7
|
-
Pflichtfelder
|
|
7
|
+
Pflichtfelder:
|
|
8
8
|
- **Name** des Verbrauchers
|
|
9
9
|
- **E-Mail-Adresse** (für die gesetzlich vorgeschriebene Eingangsbestätigung)
|
|
10
10
|
- **Bestell- / Auftrags- / Vertragsnummer** (Vertragsidentifikation)
|
|
@@ -74,7 +74,7 @@ Content-Type: application/json
|
|
|
74
74
|
### Option A – React / Astro
|
|
75
75
|
|
|
76
76
|
```tsx
|
|
77
|
-
import { WiderrufsWidget } from '@netlib
|
|
77
|
+
import { WiderrufsWidget } from '@netlib/widerrufsbutton'
|
|
78
78
|
|
|
79
79
|
<WiderrufsWidget config={{
|
|
80
80
|
apiUrl: 'https://example.com/api',
|
|
@@ -84,7 +84,7 @@ import { WiderrufsWidget } from '@netlib-de/widerrufsbutton'
|
|
|
84
84
|
}} />
|
|
85
85
|
```
|
|
86
86
|
|
|
87
|
-
### Option B – IIFE / Data-Attribute (kein Framework nötig)
|
|
87
|
+
### Option B – IIFE / Data-Attribute (kein Framework nötig) but
|
|
88
88
|
|
|
89
89
|
```html
|
|
90
90
|
<script src="widerrufsbutton.iife.js" defer></script>
|