migrate: convert most components to svelte 5

This commit is contained in:
Xylight committed 2024-10-25 19:33:27 -07:00
1 parent d670f39f0a
commit 10ef4123da
225 files changed
+5441 -3341

No files matched your search

+8 -3
View File
@@ -1,6 +1,11 @@
<script lang="ts">
let clazz: string = ''
export { clazz as class }
interface Props {
class?: string;
children?: import('svelte').Snippet;
}
let { class: clazz = '', children }: Props = $props();
</script>
<aside
@@ -8,5 +13,5 @@
flex-col gap-4 px-6 pt-4 max-w-full w-full h-full
overflow-auto text-sm border-slate-200 dark:border-zinc-800 {clazz}"
>
<slot />
{@render children?.()}
</aside>