Skip to main content
Version: v4

NotificationComponent

The Notification component displays a notification in the notification list.

Basic Usage

<stream-notification type="success">
File upload was successfuly
</stream-notification>

Customization

You can provide your own notification component by the CustomTemplatesService

Inputs and outputs

type

type: undefined | NotificationType

The type of the notification

Defined in

lib/notification/notification.component.ts:16


content

content: undefined | TemplateRef<void>

The content of the notification (can also be provided using ng-content)

Defined in

lib/notification/notification.component.ts:20

Did you find this page helpful?