feat: add comprehensive demo mode with mock integrations (#5870)
This commit is contained in:
1 parent
25d964a197
commit
0a6467979a
20 files changed
+932
-236
No files matched your search
@@ -1,6 +1,6 @@
|
||||
import type { NotificationData } from "@mantine/notifications";
|
||||
import { notifications } from "@mantine/notifications";
|
||||
import { IconCheck, IconX } from "@tabler/icons-react";
|
||||
import { IconCheck, IconInfoCircle, IconX } from "@tabler/icons-react";
|
||||
|
||||
export const showSuccessNotification = (props: NotificationData) =>
|
||||
notifications.show({
|
||||
@@ -15,3 +15,10 @@ export const showErrorNotification = (props: NotificationData) =>
|
||||
color: "red",
|
||||
icon: <IconX size={20} />,
|
||||
});
|
||||
|
||||
export const showWarningNotification = (props: NotificationData) =>
|
||||
notifications.show({
|
||||
...props,
|
||||
color: "yellow",
|
||||
icon: <IconInfoCircle size={20} />,
|
||||
});
|
||||
Reference in new issue
Block a user