mirror of
https://github.com/haexhub/haex-hub.git
synced 2025-12-17 06:30:50 +01:00
23 lines
463 B
TypeScript
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,
|
|
};
|
|
});
|