Skip to main content
Version: 1.0.4

INotificationCenterProps

@spartanfx/react v1.0.4


@spartanfx/react / INotificationCenterProps

Interface: INotificationCenterProps

NotificationCenter component props

Properties

PropertyTypeDescription
appearance?AppearanceModeAppearance mode (light/dark) - AppearanceMode enum
className?stringCustom styles
enableClearHistory?booleanEnable clear history action
enableDeleteItem?booleanEnable delete individual items
iconName?stringIcon name for notification bell
markAllReadOnOpen?booleanMark all as read when panel opens
maxItems?numberMaximum items to display
onNotificationClick?(item) => voidCallback when notification is clicked
panelTitle?stringPanel title
provider?INotificationCenterHookProvider from hook (optional - can use context instead)
toastDefaults?objectToast default settings
toastDefaults.durationMs?number-