import { Component, EventEmitter, Input, Output } from '@angular/core';
import { IPopularArrivalRequest } from '@typings/popular-request';

@Component({
    selector: 'arrival-request',
    templateUrl: './arrival-request.component.html',
})
export class ArrivalRequestComponent {
    @Input() request: IPopularArrivalRequest;
    @Output() onClick = new EventEmitter<IPopularArrivalRequest>();

    onRequestInfoClick() {
        this.onClick.emit(this.request);
    }
}
