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

projects/stream-chat-angular/src/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

projects/stream-chat-angular/src/lib/notification/notification.component.ts:20

© Getstream.io, Inc. All Rights Reserved.