Notification Preferences
Every notification switch for the signed-in user, bell and email.
Every notification switch for the signed-in user, bell and email.
| Field | Value |
|---|
| Name | xp/notification-preferences |
| Title | Notification Preferences |
| Category | text |
| API version | 3 |
| Keywords | notifications, preferences, email, xpac |
| Package | notifications |
| Metadata file | dist/packages/notifications/blocks/notification-preferences/block.json |
| Feature | Value |
|---|
color | {"text":true,"background":true,"__experimentalDefaultControls":{"text":true,"background":true}} |
html | Disabled |
spacing | {"margin":true,"padding":true,"blockGap":true} |
typography | {"fontSize":true,"__experimentalDefaultControls":{"fontSize":true}} |
| Name | Type | Default | Source/Enum |
|---|
allEmailsLabel | string | "" | — |
emailLabel | string | "" | — |
exclude | array | [] | items {"type":"string"} |
include | array | [] | items {"type":"string"} |
onsiteLabel | string | "" | — |
showAllEmails | boolean | true | — |
showSections | boolean | true | — |