This commit is contained in:
2024-09-02 16:58:23 +02:00
parent c77503ed45
commit 1b0dc0f27d
52 changed files with 817 additions and 1379 deletions

View File

@@ -1,10 +1,10 @@
export function useSuccessToast(title: string, description?: string) {
export function useSuccessToast(title: string, color?: string, description?: string) {
const toast = useToast()
toast.add({
title,
description,
color: 'green',
color: color || 'green',
icon: 'i-ph:check-circle-duotone',
})
}