interface
Source: DefaultNotification.tsx ↗
INotificationComponentProps
Props for the Notification component.
export interface INotificationComponentProps
Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
() => void | Function to handle closing the overlay | ||
(id: string) => void | Function to mark notification as read. | ||
Notification to display. | |||
(notification: INotification) => void | (Optional) Function to handle notification click. |
Property details
INotificationComponentProps.closeNotificationsPanelproperty
Function to handle closing the overlay
closeNotificationsPanel: () => void;
INotificationComponentProps.markNotificationAsReadproperty
Function to mark notification as read.
markNotificationAsRead: (id: string) => void;
INotificationComponentProps.notificationproperty
Notification to display.
notification: INotification;
INotificationComponentProps.onNotificationClickproperty
Function to handle notification click.
onNotificationClick?: (notification: INotification) => void;