import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core';
import { MessageBoardItemDTO } from 'apps/hub/notifications/src/lib/defs';

@Component({
  selector: 'modal-notifications-list-item',
  templateUrl: 'notifications-list-item.component.html',
  changeDetection: ChangeDetectionStrategy.OnPush,
})
export class ModalNotificationsListItemComponent {
  @Input()
  item: MessageBoardItemDTO;

  @Output()
  itemSelected = new EventEmitter<MessageBoardItemDTO>();

  constructor() {}
}
