mirror of
https://github.com/haexhub/haex-hub.git
synced 2025-12-18 23:10:51 +01:00
init commit
This commit is contained in:
22
src/stores/ui/notifications.ts
Normal file
22
src/stores/ui/notifications.ts
Normal file
@ -0,0 +1,22 @@
|
||||
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,
|
||||
};
|
||||
});
|
||||
Reference in New Issue
Block a user