Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion content/docs/advance-options/web-sdk.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,12 @@ This is applicable only when using `triggerReclaimFlow` method.
title: 'Verify Your Account',
description: 'Scan the QR code with your mobile device or install our browser extension',
darkTheme: false, // Enable dark theme (default: false)
extensionUrl: 'https://chrome.google.com/webstore/detail/reclaim' // Your extension download url
extensionUrl: 'https://chrome.google.com/webstore/detail/reclaim', // Your extension download url
showExtensionInstallButton: true, // Show extension install button (default: true)
modalPopupTimer: 1, // Modal popup timer in minutes (default: 1)
onClose: () => {
console.log('Modal closed')
} // Callback function to be called when modal is closed
})

// Trigger the verification flow with custom modal
Expand All @@ -497,10 +502,15 @@ This is applicable only when using `triggerReclaimFlow` method.
</Tabs>

**Modal Options:**
Note: All the options are optional and can be used individually.
- `title`: Custom title for the modal dialog
- `description`: Custom description text shown to users
- `darkTheme` (Default: `false`): Boolean to enable dark theme styling
- `extensionUrl`: Custom URL to install/download the browser extension
- `showExtensionInstallButton` (Default: `true`): Show extension install button
- `modalPopupTimer` (Default: `1`): Modal popup timer in minutes
- `onClose` (Default: `undefined`): Callback function that can be called when modal is closed for custom logic



## Options to get various Session Details
Expand Down