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

import { SchoolData } from 'src/app/structures/school-data';

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

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

  @Input() schools: SchoolData[] = [];

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

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

  constructor() { }

  ngOnInit(): void {
  }

}
