INotificationsPanelHeaderComponentProps
Props for the NotificationsPanelHeader component.
export interface INotificationsPanelHeaderComponentProps
Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
The currently active view of the notifications panel. | |||
(view: INotificationsPanelView) => void | The callback to change the active view. | ||
boolean | Indicates if there are unread notifications. | ||
() => void | The callback to mark all notifications as read. | ||
number | The number of unread notifications. |
Property details
INotificationsPanelHeaderComponentProps.activeViewproperty
The currently active view of the notifications panel.
activeView: INotificationsPanelView;
INotificationsPanelHeaderComponentProps.changeActiveViewproperty
The callback to change the active view.
changeActiveView: (view: INotificationsPanelView) => void;
INotificationsPanelHeaderComponentProps.hasUnreadNotificationsproperty
Indicates if there are unread notifications.
hasUnreadNotifications: boolean;
INotificationsPanelHeaderComponentProps.markAllNotificationsAsReadproperty
The callback to mark all notifications as read.
markAllNotificationsAsRead: () => void;
INotificationsPanelHeaderComponentProps.unreadNotificationsCountproperty
The number of unread notifications.
unreadNotificationsCount: number;