Migrate to svelte 5

This commit is contained in:
kwaroran
2024-10-23 02:31:37 +09:00
parent e434c7ab96
commit c7330719ad
120 changed files with 2398 additions and 2033 deletions

View File

@@ -1,5 +1,10 @@
<option value={value} selected={selected} class="bg-darkbg appearance-none"><slot></slot></option>
<option value={value} selected={selected} class="bg-darkbg appearance-none">{@render children?.()}</option>
<script lang="ts">
export let value:string
export let selected:boolean = false
interface Props {
value: string;
selected?: boolean;
children?: import('svelte').Snippet;
}
let { value, selected = false, children }: Props = $props();
</script>