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

+7 -2
View File
@@ -1,9 +1,14 @@
<script lang="ts">
export let width: number = 16
interface Props {
width?: number;
[key: string]: any
}
let { width = 16, ...rest }: Props = $props();
</script>
<svg
{...$$restProps}
{...rest}
{width}
height={width}
stroke="currentColor"