import { Component, OnInit, Input, Output, EventEmitter } from '@angular/core';
import { customTask } from 'src/app/models/dailyworktask.model';
import { ThemeService } from 'src/app/services/theme.service'


@Component({
  selector: 'app-task-list',
  templateUrl: './task-list.page.html',
  styleUrls: ['./task-list.page.scss'],
})
export class TaskListPage implements OnInit {

  @Input() taskList: customTask[] = [];
  @Input() skeletonLoader: boolean = false
  @Output() viewTaskDetail = new EventEmitter<customTask>();
  
  constructor(
    public ThemeService: ThemeService
  ) {
    console.log('taskList', this.taskList)
  }

  ngOnInit() {}

}
