2022-08-27 15:40:41 +02:00
|
|
|
import {
|
2022-08-27 15:55:05 +02:00
|
|
|
CustomNotificationProps,
|
2022-08-27 15:40:41 +02:00
|
|
|
NotificationProps,
|
|
|
|
|
} from "../../notifications/NotificationWrapper";
|
|
|
|
|
import { debugData } from "../../../utils/debugData";
|
|
|
|
|
|
|
|
|
|
export const debugNotification = () => {
|
|
|
|
|
debugData<NotificationProps>([
|
|
|
|
|
{
|
|
|
|
|
action: "notify",
|
|
|
|
|
data: {
|
|
|
|
|
description: "Dunak is nerd",
|
|
|
|
|
title: "Dunak",
|
|
|
|
|
id: 1,
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
]);
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export const debugCustomNotification = () => {
|
2022-08-27 15:55:05 +02:00
|
|
|
debugData<CustomNotificationProps>([
|
2022-08-27 15:40:41 +02:00
|
|
|
{
|
|
|
|
|
action: "customNotify",
|
|
|
|
|
data: {
|
|
|
|
|
description: "Dunak is nerd",
|
|
|
|
|
icon: "basket-shopping",
|
|
|
|
|
style: {
|
|
|
|
|
backgroundColor: "#2D3748",
|
|
|
|
|
color: "white",
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
]);
|
|
|
|
|
};
|