migrate web to svelte 5
This commit is contained in:
@@ -1,6 +1,16 @@
|
||||
<script lang="ts" context="module">
|
||||
<script>
|
||||
/**
|
||||
* @typedef {Object} Props
|
||||
* @property {import('svelte').Snippet} [children]
|
||||
*/
|
||||
|
||||
/** @type {Props} */
|
||||
let { children } = $props();
|
||||
</script>
|
||||
|
||||
<script lang="ts" module>
|
||||
import { CustomImg as img } from '$lib/components';
|
||||
export { img };
|
||||
</script>
|
||||
|
||||
<slot />
|
||||
{@render children?.()}
|
||||
|
||||
Reference in New Issue
Block a user