Notification Panel
A notification center panel that displays notification items within a work side menu, with tabs for filtering by unread, urgent, and all notifications.
Props
activeTab
GoabWorkSideNotificationActiveTabType
Sets the initially active tab.
Defaults to
unread.
heading
string
Sets the panel heading text.
Defaults to
Notifications.
testId
string
Sets a data-testid attribute for automated testing.
Events
onMarkAllRead
() => void
Callback fired when the "Mark all as read" button is clicked.
onViewAll
() => void
Callback fired when the "View all" button is clicked.
Notification Item Props
description
string
The body text content of the notification card.
priority
GoabWorkSideNotificationPriority
Sets the urgency level of the notification.
Defaults to
normal.
readStatus
GoabWorkSideNotificationReadStatus
Indicates whether the notification has been read or is unread.
Defaults to
unread.
testId
string
Sets a data-testid attribute for automated testing.
timestamp
string
ISO timestamp string representing when the notification occurred.
title
string
Title text displayed in the notification card header.
type
GoabWorkSideNotificationItemType
Sets the visual type/style of the notification item.
Defaults to
default.
Notification Item Events
onClick
() => void
Callback fired when the notification item is clicked.