Files
haex-hub-mirror/src/stores/ui/notifications.ts
Martin Drechsel 2c5ec6b281 init commit
2025-04-02 18:54:55 +02:00

23 lines
463 B
TypeScript

export interface IHaexNotication {
title: string;
description?: string;
icon?: string;
image?: string;
alt?: string;
}
export const useNotificationStore = defineStore('notificationStore', () => {
const notifications = ref<IHaexNotication[]>([
{
title: 'huhu',
alt: 'test',
description: 'Ganz was tolles',
image: 'https://cdn.flyonui.com/fy-assets/avatar/avatar-1.png',
},
]);
return {
notifications,
};
});