import { Component, Input } from '@angular/core';
import { upChevron, downChevron } from '~/constants/icons';

@Component({
    selector: 'EventListItemHeader',
    moduleId: module.id,
    templateUrl: './event-list-item-header.component.html',
    styleUrls: ['./_event-list-item-header.component.scss'],

})
export class EventListItemHeaderComponent {
    isOpen: boolean = false;
    @Input()
    text: string;

    @Input()
    set open(value: string) {
        this.isOpen = value != 'false';
    };
    upChevron = upChevron;
    downChevron = downChevron;
}
