refactor(web): move all types into typings folder

This commit is contained in:
Luke
2023-02-15 13:00:09 +01:00
parent 5b4c6b8674
commit 829bec2592
42 changed files with 181 additions and 169 deletions

View File

@@ -1,28 +1,30 @@
import { CustomNotificationProps } from '../../notifications/NotificationWrapper';
import { NotificationProps } from '../../../typings';
import { debugData } from '../../../utils/debugData';
export const debugCustomNotification = () => {
debugData<CustomNotificationProps>([
debugData<NotificationProps>([
{
action: 'notify',
data: {
title: 'Success',
description: 'Notification description',
type: 'success',
id: 'pogchamp',
},
},
]);
debugData<CustomNotificationProps>([
debugData<NotificationProps>([
{
action: 'notify',
data: {
title: 'Info',
title: 'Success',
description: 'Notification description',
type: 'info',
type: 'success',
id: 'pogchamp',
},
},
]);
debugData<CustomNotificationProps>([
debugData<NotificationProps>([
{
action: 'notify',
data: {
@@ -32,7 +34,7 @@ export const debugCustomNotification = () => {
},
},
]);
debugData<CustomNotificationProps>([
debugData<NotificationProps>([
{
action: 'notify',
data: {