File

notification/src/notification.types.ts

Description

Object passed to custom notification component providing notification context.

Index

Properties

Properties

additionalInformation
additionalInformation: string
Type : string
Optional

Additional information (optional, collapsible) displayed below main message.

autoDismiss
autoDismiss: boolean
Type : boolean
Optional

Automatically dismiss notification. See duration for custom duration.

duration
duration: number
Type : number
Optional

Duration in seconds after which the notification is automatically dismissed. Has no effect if autoDismiss is false.

icon
icon: string
Type : string
Optional

Icon displayed in the notification. Use any icon name from @talenra/icons or "spinner" to display the loading indicator. Omit to use default icon. Default icons depend on notification level.

level
level: TNotificationLevel
Type : TNotificationLevel
Optional

Level (e.g. "error"). Omit to use default ("info").

links
links: INotificationLink[]
Type : INotificationLink[]
Optional

Array of links displayed in the notification. @see INotificationLink

message
message: string
Type : string

Message (text) displayed to user

results matching ""

    No results matching ""