Created
January 31, 2019 10:44
-
-
Save shhdharmen/cedbde29737bd82bdf0327156744085d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Component, OnInit, Inject } from '@angular/core'; | |
import { MAT_DIALOG_DATA } from '@angular/material'; | |
@Component({ | |
selector: 'app-dialog', | |
templateUrl: './dialog.component.html', | |
styleUrls: ['./dialog.component.scss'] | |
}) | |
export class DialogComponent implements OnInit { | |
constructor(@Inject(MAT_DIALOG_DATA) public data: DialogData) { } | |
ngOnInit() { | |
} | |
} | |
export interface DialogData { | |
themeColor: string; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment