ng-implementation/my-workspace/projects/sae-lib/alert-box/alert-box.ts
2025-08-08 11:31:27 +02:00

22 lines
463 B
TypeScript

import {Component, Input} from '@angular/core';
import {NgClass} from '@angular/common';
@Component({
selector: 'app-alert-box',
imports: [
],
templateUrl: './alert-box.html',
styleUrl: './alert-box.scss'
})
export class AlertBox {
get alertKind(): string {
return this._alertKind;
}
set alertKind(value: string) {
this._alertKind = value;
}
@Input() public _alertKind: string = "warning";
@Input() public message: string = "";
}