core.js:7813 Can't bind to 'mat-dialog-close' since it isn't a known property of 'button' code example
Example: Can't bind to 'mat-dialog-close' since it isn't a known property of 'button'
import {MatDialogModule} from '@angular/material';
...
@NgModule({
declarations: [
...
],
imports: [
...
MatDialogModule,
],