mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-17 15:06:02 +01:00
35 lines
707 B
TypeScript
35 lines
707 B
TypeScript
|
|
import {
|
||
|
|
CustomNotifiactionProps,
|
||
|
|
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 = () => {
|
||
|
|
debugData<CustomNotifiactionProps>([
|
||
|
|
{
|
||
|
|
action: "customNotify",
|
||
|
|
data: {
|
||
|
|
description: "Dunak is nerd",
|
||
|
|
icon: "basket-shopping",
|
||
|
|
style: {
|
||
|
|
backgroundColor: "#2D3748",
|
||
|
|
color: "white",
|
||
|
|
},
|
||
|
|
},
|
||
|
|
},
|
||
|
|
]);
|
||
|
|
};
|