aboutsummaryrefslogtreecommitdiff
path: root/ufund-ui/src/app/components/toast/toast.component.html
diff options
context:
space:
mode:
authorsowgro <tpoke.ferrari@gmail.com>2025-03-31 17:33:04 -0400
committersowgro <tpoke.ferrari@gmail.com>2025-03-31 17:33:04 -0400
commit97c9e1e0bb73c7b08c830c47548ac1c4b5bebd0b (patch)
tree76d437e3349be177d0105b9a7a6bae9b7bd1b33a /ufund-ui/src/app/components/toast/toast.component.html
parentf7a0ce90b0ead17ad4002108d7e868899954c69d (diff)
downloadJellySolutions-97c9e1e0bb73c7b08c830c47548ac1c4b5bebd0b.tar.gz
JellySolutions-97c9e1e0bb73c7b08c830c47548ac1c4b5bebd0b.tar.bz2
JellySolutions-97c9e1e0bb73c7b08c830c47548ac1c4b5bebd0b.zip
TOASTS
Diffstat (limited to 'ufund-ui/src/app/components/toast/toast.component.html')
-rw-r--r--ufund-ui/src/app/components/toast/toast.component.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/ufund-ui/src/app/components/toast/toast.component.html b/ufund-ui/src/app/components/toast/toast.component.html
new file mode 100644
index 0000000..dccf869
--- /dev/null
+++ b/ufund-ui/src/app/components/toast/toast.component.html
@@ -0,0 +1,7 @@
+<div class="toast" [ngClass]="ToastType[type].toLowerCase()" #toastDiv>
+ <span>{{this.message}}</span>
+ <a *ngIf="this.action" (click)="this.action.onAction()">{{this.action.label}}</a>
+ <button (click)="hide()">
+ <span class="icon">close</span>
+ </button>
+</div>