From 39b677404558ae3b7eb34e818d7ca308f62f9cb0 Mon Sep 17 00:00:00 2001
From: Fuwn <contact@fuwn.me>
Date: Mon, 28 Oct 2024 15:32:46 -0700
Subject: feat: update to svelte 5

---
 src/lib/List/MediaTitleDisplay.svelte | 17 +++++++++++++----
 1 file changed, 13 insertions(+), 4 deletions(-)

(limited to 'src/lib/List/MediaTitleDisplay.svelte')

diff --git a/src/lib/List/MediaTitleDisplay.svelte b/src/lib/List/MediaTitleDisplay.svelte
index 6a886704..0fd7cf17 100644
--- a/src/lib/List/MediaTitleDisplay.svelte
+++ b/src/lib/List/MediaTitleDisplay.svelte
@@ -6,10 +6,19 @@
   import LZString from 'lz-string';
   import * as wanakana from 'wanakana';
 
-  export let title: MediaTitle;
-  export let abbreviate = false;
-  export let abbreviateTo = 20;
-  export let tooltip = false;
+  interface Props {
+    title: MediaTitle;
+    abbreviate?: boolean;
+    abbreviateTo?: number;
+    tooltip?: boolean;
+  }
+
+  let {
+    title,
+    abbreviate = false,
+    abbreviateTo = 20,
+    tooltip = false
+  }: Props = $props();
 
   const compressToBase64 = (string: string) => LZString.compressToBase64(string);
 </script>
-- 
cgit v1.2.3

