import { Component, OnInit, ChangeDetectionStrategy, EventEmitter, Output, Input } from '@angular/core';
import { Task } from '../../../defs';

@Component({
  selector: 'app-edit-task-header',
  templateUrl: './edit-task-header.component.html',
  styleUrls: ['./edit-task-header.component.scss'],
  changeDetection: ChangeDetectionStrategy.OnPush,
})
export class EditTaskHeaderComponent implements OnInit {
  @Input() task: Task;

  @Output() close = new EventEmitter<void>();

  constructor() {}

  ngOnInit() {}
}
