aboutsummaryrefslogtreecommitdiff
path: root/src/lib/List/Anime/PlaceholderList.svelte
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/List/Anime/PlaceholderList.svelte')
-rw-r--r--src/lib/List/Anime/PlaceholderList.svelte8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/lib/List/Anime/PlaceholderList.svelte b/src/lib/List/Anime/PlaceholderList.svelte
index 1f701d79..2c9baab5 100644
--- a/src/lib/List/Anime/PlaceholderList.svelte
+++ b/src/lib/List/Anime/PlaceholderList.svelte
@@ -4,8 +4,12 @@
import ListTitle from '../ListTitle.svelte';
import type { Title } from '../mediaTitle';
- export let title: Title;
- export let count = 8;
+ interface Props {
+ title: Title;
+ count?: number;
+ }
+
+ let { title, count = 8 }: Props = $props();
</script>
<ListTitle {title} />