import { ChangeDetectionStrategy, Component, EventEmitter, Output, TemplateRef, ViewChild } from '@angular/core';
import { OverlayPanel } from './overlay.model';

@Component({
  selector: 'ui-overlay',
  templateUrl: './overlay.component.html',
  styleUrls: ['./overlay.component.scss'],
  changeDetection: ChangeDetectionStrategy.OnPush,
})
export class OverlayComponent implements OverlayPanel {
  @ViewChild(TemplateRef) templateRef: TemplateRef<never>;
  @Output() closed = new EventEmitter<void>();
}
