From 973176f944effe6332fbafd31c386527101e76f9 Mon Sep 17 00:00:00 2001 From: iamgyu Date: Fri, 20 Sep 2024 12:01:29 +0900 Subject: [PATCH] =?UTF-8?q?refactor:=20input=20=EC=BB=B4=ED=8F=AC=EB=84=8C?= =?UTF-8?q?=ED=8A=B8=20=EC=BD=94=EB=93=9C=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/ui/Input.stories.tsx | 4 +-- components/ui/Input.tsx | 50 ++++++++++++++++----------------- 2 files changed, 26 insertions(+), 28 deletions(-) diff --git a/components/ui/Input.stories.tsx b/components/ui/Input.stories.tsx index 5d08060..bf1feb0 100644 --- a/components/ui/Input.stories.tsx +++ b/components/ui/Input.stories.tsx @@ -33,8 +33,8 @@ function UserIcon() { return ( , 'size'>, VariantProps { @@ -45,20 +42,21 @@ const Input = React.forwardRef( ref, ) => { return ( -
+
{icon && ( - + {icon} )}{' '}