import { Component , OnInit , Inject } from '@angular/core' ; import { MatDialogRef , MAT_DIALOG_DATA } from '@angular/material/dialog' ; @ Component ( { selector : 'app-delete-account-dialog' , templateUrl : './delete-account-dialog.component.html' , styleUrls : [ './delete-account-dialog.component.css' ] } ) export class DeleteAccountDialogComponent implements OnInit { constructor ( public dialogRef , @ Inject ( MAT_DIALOG_DATA ) public selectedAccounts ) { } ngOnInit ( ) { } }