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

import { InstructorData } from '../../../structures/instructor-data';

import * as Globals from '../../../globals';

@Component({
  selector: 'app-instructors-basic-table',
  templateUrl: './instructors-basic-table.component.html',
  styleUrls: ['./instructors-basic-table.component.scss']
})
export class InstructorsBasicTableComponent implements OnInit {

  @Input() instructors: InstructorData[] = [];

  profileLink: string = Globals.pages.instructorProfile.path;

  displayedColumns: string[] = ['name', 'email', 'age', 'city', 'link'];

  constructor() { }

  ngOnInit(): void {
  }

}
