notification/src/notification.types.ts
Object passed to custom notification component providing notification context.
Properties |
|
| additionalInformation |
additionalInformation:
|
Type : string
|
| Optional |
|
Additional information (optional, collapsible) displayed below main message. |
| autoDismiss |
autoDismiss:
|
Type : boolean
|
| Optional |
|
Automatically dismiss notification. See |
| duration |
duration:
|
Type : number
|
| Optional |
|
Duration in seconds after which the notification is automatically dismissed. Has no effect if |
| icon |
icon:
|
Type : string
|
| Optional |
|
Icon displayed in the notification. Use any icon name from |
| level |
level:
|
Type : TNotificationLevel
|
| Optional |
|
Level (e.g. |
| links |
links:
|
Type : INotificationLink[]
|
| Optional |
|
Array of links displayed in the notification. @see INotificationLink |
| message |
message:
|
Type : string
|
|
Message (text) displayed to user |