diff options
| author | Fuwn <[email protected]> | 2024-10-28 15:32:46 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-10-28 15:32:46 -0700 |
| commit | 39b677404558ae3b7eb34e818d7ca308f62f9cb0 (patch) | |
| tree | 7f19fca39ecd4237e3c0d1aef2d8e9fa3cec7845 /src/lib/Error/Notice.svelte | |
| parent | feat(graphql): paged badges query (diff) | |
| download | due.moe-svelte-5.tar.xz due.moe-svelte-5.zip | |
feat: update to svelte 5svelte-5
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?.()} |