12 lines
243 B
Svelte
12 lines
243 B
Svelte
<script>
|
|
/**
|
|
* @typedef {Object} Props
|
|
* @property {import('svelte').Snippet<[any]>} [children]
|
|
*/
|
|
|
|
/** @type {Props & { [key: string]: any }} */
|
|
let { children, ...rest } = $props()
|
|
</script>
|
|
|
|
{@render children?.({ ...rest })}
|