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

@Component({
    moduleId: module.id,
    selector: 'LineInfoItem',
    templateUrl: './line-info-item.component.html',
    styleUrls: ['./line-info-item.component.scss']
})
export class LineInfoItemComponent {
    @Input() name: string;
    @Input() value: string;
    @Input() type: string;
    @Output() action = new EventEmitter();

    onTap() {
        this.action.emit();
    }
}
