aboutsummaryrefslogtreecommitdiff
path: root/ufund-ui/src/app/services/toasts.service.ts
diff options
context:
space:
mode:
authorsowgro <tpoke.ferrari@gmail.com>2025-03-31 00:38:37 -0400
committersowgro <tpoke.ferrari@gmail.com>2025-03-31 00:38:37 -0400
commitcfe40fa1e416fbf4586ef36b63a145453a4d6224 (patch)
tree8453977b736c1b015e24e8dfed0dbceb87c0fce1 /ufund-ui/src/app/services/toasts.service.ts
parentaa5610d0f56c2a048212b3bd3a9ca5671ec855fa (diff)
downloadJellySolutions-cfe40fa1e416fbf4586ef36b63a145453a4d6224.tar.gz
JellySolutions-cfe40fa1e416fbf4586ef36b63a145453a4d6224.tar.bz2
JellySolutions-cfe40fa1e416fbf4586ef36b63a145453a4d6224.zip
Continue working on css (1)
Diffstat (limited to 'ufund-ui/src/app/services/toasts.service.ts')
-rw-r--r--ufund-ui/src/app/services/toasts.service.ts19
1 files changed, 19 insertions, 0 deletions
diff --git a/ufund-ui/src/app/services/toasts.service.ts b/ufund-ui/src/app/services/toasts.service.ts
new file mode 100644
index 0000000..0c35e45
--- /dev/null
+++ b/ufund-ui/src/app/services/toasts.service.ts
@@ -0,0 +1,19 @@
+import {Injectable} from '@angular/core';
+
+export enum ToastType {
+ INFO,
+ WARNING,
+ ERROR
+}
+
+@Injectable({
+ providedIn: 'root'
+})
+export class ToastsService {
+
+ constructor() {}
+
+ sendToast(type: ToastType, message: string, action?: {label: string, onAction: () => void}) {
+
+ }
+}