component alert pour afficher une alert avec un message

This commit is contained in:
Hedi 2022-03-01 20:58:35 +01:00
parent b4ca38d046
commit 3b4e3b2f84
6 changed files with 17 additions and 6 deletions

View file

@ -27,10 +27,11 @@
<!-- <div *ngIf="errorForm">
<p class="text-danger">Il manque des informations dans le formulaire...</p>
</div> -->
<div *ngIf="isShow">
<app-alert *ngIf="isShow" [alert]="alert" (eventClose)="onClickCloseAlert();"></app-alert>
<!-- <div *ngIf="isShow">
<div class="alert alert-{{alert.type}}" role="alert">
{{alert.content}}
</div>
</div>
</div> -->
</main>
</div>