22 lines
494 B
TypeScript
22 lines
494 B
TypeScript
import { Component, OnInit, Inject } from '@angular/core';
|
|
import { MatSnackBarRef, MAT_SNACK_BAR_DATA } from "@angular/material/snack-bar";
|
|
|
|
@Component({
|
|
selector: 'app-show-error',
|
|
templateUrl: './show-error.component.html',
|
|
styleUrls: ['./show-error.component.css']
|
|
})
|
|
|
|
|
|
export class ShowErrorComponent implements OnInit {
|
|
|
|
constructor(
|
|
public sbRef: MatSnackBarRef<ShowErrorComponent>,
|
|
@Inject(MAT_SNACK_BAR_DATA) public data: any
|
|
) { }
|
|
|
|
ngOnInit(): void {
|
|
}
|
|
|
|
}
|