NotificationProps
Defined in: src/core/ui/interfaces.ts:12
Notification component interface Displays achievement unlock notifications
Properties
achievement
achievement:
AchievementWithStatus
Defined in: src/core/ui/interfaces.ts:13
duration?
optionalduration:number
Defined in: src/core/ui/interfaces.ts:15
icons?
optionalicons:Record<string,string>
Defined in: src/core/ui/interfaces.ts:18
onClose()?
optionalonClose: () =>void
Defined in: src/core/ui/interfaces.ts:14
Returns
void
position?
optionalposition:NotificationPosition
Defined in: src/core/ui/interfaces.ts:16
stackIndex?
optionalstackIndex:number
Defined in: src/core/ui/interfaces.ts:24
Position in the active notification stack. Built-in notifications use this to avoid overlap when multiple achievements unlock from the same update.
theme?
optionaltheme:string
Defined in: src/core/ui/interfaces.ts:17