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

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

@Component({
  selector: 'app-instructor-info-block',
  templateUrl: './instructor-info-block.component.html',
  styleUrls: ['./instructor-info-block.component.scss']
})
export class InstructorInfoBlockComponent implements OnInit {

  @Input() instructorData: InstructorData = emptyInstructorDataFactory();
  @Input() showName: boolean = true;

  constructor() { }

  ngOnInit(): void {
  }

}
