From db6858582fe656aa3b79009b9d35b070983301b7 Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Mon, 18 Nov 2024 06:52:41 -0800 Subject: [PATCH] refac: sidebar component --- src/lib/components/common/Sidebar.svelte | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/lib/components/common/Sidebar.svelte b/src/lib/components/common/Sidebar.svelte index 0902954b3..7e32a8f24 100644 --- a/src/lib/components/common/Sidebar.svelte +++ b/src/lib/components/common/Sidebar.svelte @@ -7,6 +7,7 @@ export let width = '200px'; export let className = ''; + export let duration = 100; {#if show} @@ -16,12 +17,12 @@ on:mousedown={() => { show = false; }} - transition:fade + transition:fade={{ duration: duration }} />