/** Angular Imports. */ import { Component , OnInit , Inject } from '@angular/core' ; import { MatDialogRef , MAT_DIALOG_DATA } from '@angular/material/dialog' ; @ Component ( { selector : 'mifosx-error-dialog' , templateUrl : './error-dialog.component.html' , styleUrls : [ './error-dialog.component.scss' ] } ) export class ErrorDialogComponent { param { MatDialogRef } dialogRef param { any } data constructor ( public dialogRef , @ Inject ( MAT_DIALOG_DATA ) public data ) { } }