🎨 Lint project

This commit is contained in:
Rune Harlyk
2025-10-11 10:54:07 +02:00
parent 91a7b170fe
commit a77eb0b1e0
36 changed files with 77 additions and 72 deletions
+4 -2
View File
@@ -1,4 +1,6 @@
<script lang="ts">
import type { ComponentType } from 'svelte'
type Variant = 'success' | 'error' | 'primary' | 'info' | 'warning'
const {
@@ -9,12 +11,12 @@
class: klass = '',
children = null
} = $props<{
icon?: any
icon?: ComponentType
title: string
description?: string | number
variant?: Variant
class?: string
children?: () => any
children?: () => ComponentType
}>()
const Icon = $derived(icon)