migrate: convert most components to svelte 5
This commit is contained in:
1 parent
d670f39f0a
commit
10ef4123da
225 files changed
+5441
-3341
No files matched your search
@@ -2,11 +2,21 @@
|
||||
import type { Profile } from '$lib/auth.js'
|
||||
import { Icon, UserCircle } from 'svelte-hero-icons'
|
||||
|
||||
export let profile: Profile | undefined = undefined
|
||||
export let selected: boolean = false
|
||||
export let index: number = 0
|
||||
export let size: number = 20
|
||||
export let guest: boolean = false
|
||||
interface Props {
|
||||
profile?: Profile | undefined;
|
||||
selected?: boolean;
|
||||
index?: number;
|
||||
size?: number;
|
||||
guest?: boolean;
|
||||
}
|
||||
|
||||
let {
|
||||
profile = undefined,
|
||||
selected = false,
|
||||
index = 0,
|
||||
size = 20,
|
||||
guest = false
|
||||
}: Props = $props();
|
||||
</script>
|
||||
|
||||
{#if profile}
|
||||
|
||||
Reference in new issue
Block a user