You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
509 B
TypeScript
16 lines
509 B
TypeScript
import { Component, Inject } from '@angular/core';
|
|
import { MAT_SNACK_BAR_DATA } from '@angular/material/snack-bar';
|
|
import { SnackBarNotification } from '../../../core/services/notification/ui-notification-service';
|
|
|
|
@Component({
|
|
selector: 'app-snack-bar-notification',
|
|
templateUrl: './snack-bar-notification.component.html'
|
|
})
|
|
|
|
export class SnackBarNotificationComponent {
|
|
message: string;
|
|
constructor(@Inject(MAT_SNACK_BAR_DATA) public data: SnackBarNotification) {
|
|
this.message = data.message;
|
|
}
|
|
}
|