19 lines
365 B
TypeScript
19 lines
365 B
TypeScript
import { Component, OnInit, Input, OnChanges, SimpleChanges } from '@angular/core';
|
|
import { Message } from 'primeng/primeng';
|
|
|
|
@Component({
|
|
selector: 'of-message',
|
|
templateUrl: './message.component.html',
|
|
})
|
|
export class MessageComponent {
|
|
|
|
@Input() message: Message;
|
|
@Input() closeAfter: number;
|
|
@Input() closable: boolean;
|
|
|
|
constructor(
|
|
) {
|
|
}
|
|
|
|
}
|