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