INotificationCenterProps
@spartanfx/react / INotificationCenterProps
Interface: INotificationCenterProps
NotificationCenter component props
Properties
| Property | Type | Description |
|---|---|---|
appearance? | AppearanceMode | Appearance mode (light/dark) - AppearanceMode enum |
className? | string | Custom styles |
enableClearHistory? | boolean | Enable clear history action |
enableDeleteItem? | boolean | Enable delete individual items |
iconName? | string | Icon name for notification bell |
markAllReadOnOpen? | boolean | Mark all as read when panel opens |
maxItems? | number | Maximum items to display |
onNotificationClick? | (item) => void | Callback when notification is clicked |
panelTitle? | string | Panel title |
provider? | INotificationCenterHook | Provider from hook (optional - can use context instead) |
toastDefaults? | object | Toast default settings |
toastDefaults.durationMs? | number | - |