import { Component } from '@angular/core';
import { Athlete } from './athlete';

@Component({
    selector: 'results',
    templateUrl: 'results.component.html'
})
export class ResultsComponent {
    selectedAthlete: Athlete;

    showDetails(selectedAthlete: Athlete) {
        this.selectedAthlete = selectedAthlete;
    }
}