<div
class="toaster position-fixed top-0 end-0 px-3 py-2"
style="margin-top: 10%"
>
<div *ngFor="let toast of currentToasts; index as i">
<app-toast
[type]="toast.type"
[title]="toast.title"
[message]="toast.message"
[iconType]="toast.iconType"
(disposeEvent)="dispose(i)"
></app-toast>
</div>
</div>
<div
class="toaster position-fixed top-0 end-0 px-3 py-2"
style="margin-top: 10%"
>
<div *ngFor="let toast of currentToasts; index as i">
<app-toast
[type]="toast.type"
[title]="toast.title"
[message]="toast.message"
[iconType]="toast.iconType"
(disposeEvent)="dispose(i)"
></app-toast>
</div>
</div>