Notification Preference
One notification switch for the signed-in user.
One notification switch for the signed-in user.
| Field | Value |
|---|
| Name | xp/notification-setting |
| Title | Notification Preference |
| Category | text |
| API version | 3 |
| Keywords | notification, preference, setting, xpac |
| Package | notifications |
| Metadata file | dist/packages/notifications/blocks/notification-setting/block.json |
| Feature | Value |
|---|
color | {"text":true,"background":true,"__experimentalDefaultControls":{"text":true,"background":true}} |
html | Disabled |
spacing | {"margin":true,"padding":true} |
typography | {"fontSize":true,"__experimentalDefaultControls":{"fontSize":true}} |
| Name | Type | Default | Source/Enum |
|---|
association | string | "" | — |
channel | string | "all" | enum "all", "onsite", "email" |
description | string | "" | — |
title | string | "" | — |