Skip to main content

INotificationCenterProps

@spartanfx/react v1.2.2


@spartanfx/react / index / INotificationCenterProps

Interface: INotificationCenterProps

NotificationCenter component props

Properties

Options

PropertyTypeDescription
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
panelTitle?stringPanel title
provider?INotificationCenterHookProvider from hook (optional - can use context instead)
toastDefaults?objectToast default settings
toastDefaults.durationMs?number-

Events & callbacks

PropertyTypeDescription
onNotificationClick?(item) => voidCallback when notification is clicked

Appearance & theming

PropertyTypeDescription
appearance?AppearanceModeAppearance mode (light/dark) - AppearanceMode enum
className?stringCustom styles