This commit is contained in:
Timothy Jaeryang Baek committed 2025-09-07 04:27:42 +04:00
1 parent f2525ebc44
commit 7f523de408
1 file changed
+6 -1
@@ -8,9 +8,14 @@
let state = false;
</script>
<Collapsible grow={true} className="w-full" buttonClassName="w-full">
<Collapsible grow={true} className="w-full" buttonClassName="w-full" bind:open={state}>
<div class="flex items-center gap-2 text-gray-500 transition">
<slot />
{#if state}
<ChevronUp strokeWidth="2.5" className="size-3.5 " />
{:else}
<ChevronDown strokeWidth="2.5" className="size-3.5 " />
{/if}
</div>
<div