From defacc217980a37cd3ad5be5a22c0697fe3f61c3 Mon Sep 17 00:00:00 2001 From: Justin Edmund Date: Sat, 20 Dec 2025 04:15:33 -0800 Subject: [PATCH] add SearchOptionItem component for reusable search results --- .../components/search/SearchOptionItem.svelte | 101 ++++++++++++++++++ 1 file changed, 101 insertions(+) create mode 100644 src/lib/components/search/SearchOptionItem.svelte diff --git a/src/lib/components/search/SearchOptionItem.svelte b/src/lib/components/search/SearchOptionItem.svelte new file mode 100644 index 00000000..6b9edc8b --- /dev/null +++ b/src/lib/components/search/SearchOptionItem.svelte @@ -0,0 +1,101 @@ + + + + +
+ +
+ {label} + {#if type === 'Character'} + + {/if} +
+ {#if showType} + {type} + {/if} +
+ +