Files
dspace-angular/src/app/item-page/alerts/item-alerts.component.ts
2023-01-03 17:03:19 +01:00

25 lines
564 B
TypeScript

import { Component, Input } from '@angular/core';
import { Item } from '../../core/shared/item.model';
import { AlertType } from '../../shared/alert/aletr-type';
@Component({
selector: 'ds-item-alerts',
templateUrl: './item-alerts.component.html',
styleUrls: ['./item-alerts.component.scss']
})
/**
* Component displaying alerts for an item
*/
export class ItemAlertsComponent {
/**
* The Item to display alerts for
*/
@Input() item: Item;
/**
* The AlertType enumeration
* @type {AlertType}
*/
public AlertTypeEnum = AlertType;
}