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
@@ -1,9 +1,11 @@
|
||||
<script lang="ts">
|
||||
export let width: number = 16
|
||||
export let filled: boolean = false
|
||||
interface Props {
|
||||
width?: number
|
||||
filled?: boolean
|
||||
class?: string
|
||||
}
|
||||
|
||||
let clazz: string = ''
|
||||
export { clazz as class }
|
||||
let { width = 16, filled = false, class: clazz = '' }: Props = $props()
|
||||
</script>
|
||||
|
||||
{#if filled}
|
||||
|
||||
Reference in new issue
Block a user