mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-06-06 09:11:36 +00:00
20 lines
518 B
TypeScript
20 lines
518 B
TypeScript
import { Component, Input } from '@angular/core';
|
|
import { MatDialogRef } from '@angular/material/dialog';
|
|
import { Message } from '../../../models/message';
|
|
|
|
@Component({
|
|
selector: 'app-help-dialog',
|
|
templateUrl: './help-dialog.component.html',
|
|
styleUrls: ['./help-dialog.component.scss'],
|
|
})
|
|
export class HelpDialogComponent {
|
|
@Input() title: string;
|
|
@Input() messages: Message[];
|
|
|
|
constructor(public dialogRef: MatDialogRef<HelpDialogComponent>) {}
|
|
|
|
onCloseClick() {
|
|
this.dialogRef.close();
|
|
}
|
|
}
|