diff options
Diffstat (limited to 'src/lib/Error/Notice.svelte')
| -rw-r--r-- | src/lib/Error/Notice.svelte | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/lib/Error/Notice.svelte b/src/lib/Error/Notice.svelte index d4cf96c5..6bdd7327 100644 --- a/src/lib/Error/Notice.svelte +++ b/src/lib/Error/Notice.svelte @@ -1,2 +1,12 @@ +<script> + /** + * @typedef {Object} Props + * @property {import('svelte').Snippet} [children] + */ + + /** @type {Props} */ + let { children } = $props(); +</script> + <b>Notice:</b> -<slot /> +{@render children?.()} |