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

@Component({
  selector: 'app-shelf-edit-order-item-header',
  templateUrl: 'edit-order-item-header.component.html',
  styleUrls: ['./edit-order-item-header.component.scss'],
  changeDetection: ChangeDetectionStrategy.OnPush,
})
export class ShelfEditOrderItemHeaderComponent {
  @Input() showCollapseArrow = true;
  @Input() isOpen = false;

  @Input() src: string;
  @Input() title: string;

  @Output() expand = new EventEmitter<boolean>();

  constructor() {}
}
