Skip to content
Open
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
3 changes: 3 additions & 0 deletions snaps/features/notifications.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,9 @@ Each Snap can trigger up to:

In-app notifications can include an optional expanded view that displays when selected.
The expanded view includes a title, [custom UI](custom-ui/index.md) content, and an optional footer link.
Note that the `content` field must use JSX components such as `Box` and `Text`.
If you are unfamiliar with JSX in Snaps, see the [custom UI](custom-ui/index.md)
documentation before proceeding.

The following example displays a notification in MetaMask, with the message "Hello, world!"
When the user selects the notification, the expanded view displays a page with a title, a paragraph, and a link to the MetaMask Snaps directory:
Expand Down