ng-implementation/my-workspace/projects/sae-lib/alert-box/alert-box.ts

24 lines
426 B
TypeScript
Raw Normal View History

2025-08-08 11:31:27 +02:00
import {Component, Input} from '@angular/core';
@Component({
selector: 'sae-alert-box',
2025-08-20 16:39:49 +02:00
standalone: true,
imports: [],
2025-08-08 11:31:27 +02:00
templateUrl: './alert-box.html',
styleUrl: './alert-box.scss'
})
export class AlertBox {
2025-08-19 16:20:07 +02:00
@Input() public message = "";
@Input() public _alertKind = "warning";
2025-08-08 11:31:27 +02:00
get alertKind(): string {
return this._alertKind;
}
set alertKind(value: string) {
this._alertKind = value;
}
}