bitsnap-react 1.4.9 → 1.4.11
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 +7 -6
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -311,12 +311,13 @@ setTheme({
|
|
|
311
311
|
|
|
312
312
|
### Configuration Options
|
|
313
313
|
|
|
314
|
-
| Function
|
|
315
|
-
|
|
|
316
|
-
| `setProjectID`
|
|
317
|
-
| `setLoginURL`
|
|
318
|
-
| `setHost`
|
|
319
|
-
| `setTheme`
|
|
314
|
+
| Function | Type | Description |
|
|
315
|
+
| ----------------------- | ---------------- | -------------------------------------------------------- |
|
|
316
|
+
| `setProjectID` | `string` | Your Bitsnap project ID |
|
|
317
|
+
| `setLoginURL` | `string` | URL for login page (default: `/panel/login`) |
|
|
318
|
+
| `setHost` | `string` | Custom API host URL |
|
|
319
|
+
| `setTheme` | `GetThemeOutput` | Theme configuration (logo, colors) |
|
|
320
|
+
| `setAllowedReturnOrigins` | `string[]` | Allowed return URL origins (auto-set by `setProjectID`) |
|
|
320
321
|
|
|
321
322
|
### Theme Type
|
|
322
323
|
|