@privy-io/react-auth 1.24.0 → 1.25.0-beta.1

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/dist/index.d.ts CHANGED
@@ -347,6 +347,28 @@ type PrivyClientConfig = {
347
347
  * This overrides the server setting `privacy_policy_url` */
348
348
  privacyPolicyUrl?: string | null;
349
349
  };
350
+ /**
351
+ * Override the default rendering settings, used for displaying in a non-modal setting.
352
+ * For internal use only.
353
+ * @hidden
354
+ */
355
+ _render?: {
356
+ /**
357
+ * If true, the modal renders with a dialog, which centers the modal, blocks scrolling on the body, adds a backdrop,
358
+ * and adds a close button in the top right corner.
359
+ * If false, the modal renders wherever the portal is set to (defaults to the bottom of document.body), without the above features.
360
+ *
361
+ * Defaults to true.
362
+ */
363
+ inDialog?: boolean;
364
+ /**
365
+ * The id of the node to render the modal in, using a React portal.
366
+ * If the element with id specified does not exist, or is set to null, renders to document.body.
367
+ *
368
+ * Defaults to null.
369
+ */
370
+ inParentNodeId?: string | null;
371
+ };
350
372
  };
351
373
  interface AllowlistConfig {
352
374
  errorTitle: string | null;