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

@Component({
    selector: 'InfoLine',
    moduleId: module.id,
    templateUrl: './info-line.component.html',
    styleUrls: ['./_info-line.component.scss'],
})
export class InfoLineComponent {

    isSeparated: boolean = false;
    @Input() title: string;
    @Input() value: string;
    @Input() type: string;
    @Input() class: string = '';
    @Input() visibility: boolean = true;
    @Input() direction: string = 'row';
    @Input() justifyContent: string = 'space-between';
    @Input()
    set separated(value: string) {
        this.isSeparated = value != 'false';
    };

}
