import { Component, ViewChild, Input } from '@angular/core'

import { AdminDetailComponent } from '../../admin/admin-detail/admin-detail.component'
import { FullInfo } from '../info-data.service'

@Component({
    selector: 'gisaf-info-admin',
    templateUrl: './info-admin.component.html',
    styleUrls: ['./info-admin.component.css'],
})
export class InfoAdminComponent {
    @Input() source: FullInfo
    @ViewChild(AdminDetailComponent, { static: true }) adminDetail: AdminDetailComponent
}
