This repository has been archived on 2025-12-04. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
Caramel-CRM-Backup/resources/js/stores/alertStore.ts
T

17 lines
427 B
TypeScript
Raw Normal View History

2025-10-29 18:04:09 +01:00
import { defineStore } from 'pinia'
export const alertStore = defineStore('alert', {
state: () => {
return {
open: false,
title: "",
message: "",
cancelText: "Abbrechen",
onCancel: () => { },
actionText: "Ok",
actionVariant: "action" as "action" | "destructive",
onAction: () => { }
}
},
actions: {}
})