Clasroom view in dialog component

pull/5/head
Alvaro Puente Mella 2024-07-19 13:59:13 +02:00
parent 6845936ac6
commit 0ad9f8d08c
1 changed files with 22 additions and 0 deletions

View File

@ -0,0 +1,22 @@
import { Component, Inject } from '@angular/core';
import { MAT_DIALOG_DATA } from '@angular/material/dialog';
@Component({
selector: 'app-classroom-view-dialog',
template: `
<h2 mat-dialog-title>Plano de Aula</h2>
<mat-dialog-content>
<app-classroom-view [clients]="data.clients"></app-classroom-view>
</mat-dialog-content>
`,
styles: [`
mat-dialog-content {
overflow: hidden;
}
`]
})
export class ClassroomViewDialogComponent {
constructor(@Inject(MAT_DIALOG_DATA) public data: any) {
}
}