From a7a4880c52dcb49ee6d1af84d312453a85f57bbf Mon Sep 17 00:00:00 2001 From: choibumsu Date: Mon, 22 Feb 2021 01:50:31 +0900 Subject: [PATCH] =?UTF-8?q?[#22]=20refact=20:=20animationConfig=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/MainSection/Timer/DisplayTime/index.tsx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/components/MainSection/Timer/DisplayTime/index.tsx b/src/components/MainSection/Timer/DisplayTime/index.tsx index ec3ee5c..5566e1f 100644 --- a/src/components/MainSection/Timer/DisplayTime/index.tsx +++ b/src/components/MainSection/Timer/DisplayTime/index.tsx @@ -23,11 +23,12 @@ function getDifference(str: string, from: string): string { } const animationConfig = { + beforeOpacity: 0, beforeScale: 0.7, targetY: '0.6em', - duration: '0.4s', - beforeOpacity: 0, - delay: 500, + duration: 300, + delay: 300, + disappearDelay: 100, } const guardConfig = {