import { Component , Inject , Input , OnInit } from '@angular/core' ; import { MAT_DIALOG_DATA , MatDialogRef } from '@angular/material' ; @ Component ( { selector : 'app-comments-dialog' , templateUrl : './comments-dialog.component.html' , styleUrls : [ './comments-dialog.component.scss' ] } ) export class CommentsDialogComponent implements OnInit { constructor ( public dialogRef , @ Inject ( MAT_DIALOG_DATA ) public data ) { } ngOnInit ( ) { } }