From 4b12e64915735f3b2a5e29073d208f87097f6285 Mon Sep 17 00:00:00 2001
From: Fuwn <contact@fuwn.me>
Date: Mon, 25 Sep 2023 21:37:54 -0700
Subject: refactor(anime): use title component

---
 src/lib/List/Due/ListTitle.svelte | 10 ++++++++++
 1 file changed, 10 insertions(+)
 create mode 100644 src/lib/List/Due/ListTitle.svelte

(limited to 'src/lib/List/Due/ListTitle.svelte')

diff --git a/src/lib/List/Due/ListTitle.svelte b/src/lib/List/Due/ListTitle.svelte
new file mode 100644
index 00000000..5a37850c
--- /dev/null
+++ b/src/lib/List/Due/ListTitle.svelte
@@ -0,0 +1,10 @@
+<script lang="ts">
+	export let time: number | string = '...';
+	export let count: number | string = '...';
+	export let anime = false;
+</script>
+
+<summary>
+	{anime ? 'Anime' : 'Manga & Light Novels'} [{count}] <small style="opacity: 50%">{time}s</small>
+	<slot />
+</summary>
-- 
cgit v1.2.3

