add redux in csc
This commit is contained in:
parent
a89007a81b
commit
3534919502
14 changed files with 277 additions and 12 deletions
22
my-workspace/projects/sae-lib/alert-box/alert-box.ts
Normal file
22
my-workspace/projects/sae-lib/alert-box/alert-box.ts
Normal file
|
@ -0,0 +1,22 @@
|
|||
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 = "";
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue