mirror of
https://github.com/R0m1k3/noteflow.git
synced 2026-10-17 04:08:41 +02:00
Init Dyad app
This commit is contained in:
commit
33b241f0c1
79 files changed
+10270
No files matched your search
@@ -0,0 +1,17 @@
|
||||
import { toast } from "sonner";
|
||||
|
||||
export const showSuccess = (message: string) => {
|
||||
toast.success(message);
|
||||
};
|
||||
|
||||
export const showError = (message: string) => {
|
||||
toast.error(message);
|
||||
};
|
||||
|
||||
export const showLoading = (message: string) => {
|
||||
return toast.loading(message);
|
||||
};
|
||||
|
||||
export const dismissToast = (toastId: string) => {
|
||||
toast.dismiss(toastId);
|
||||
};
|
||||
Reference in new issue
Block a user