From e746491e4449a1b05f731a3e9b84d81b03d71b7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=A0=95=ED=98=84=EC=A1=B0?= Date: Wed, 28 Aug 2024 09:56:27 +0900 Subject: [PATCH] =?UTF-8?q?Design:=20ImageUploadModal=20=EB=94=94=EC=9E=90?= =?UTF-8?q?=EC=9D=B8=20=EC=9D=BC=EA=B4=80=EC=84=B1=20=EA=B0=95=ED=99=94=20?= =?UTF-8?q?-=20S11P21S002-69?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/ImageUploadModal/index.tsx | 89 ++++++++++--------- 1 file changed, 46 insertions(+), 43 deletions(-) diff --git a/frontend/src/components/ImageUploadModal/index.tsx b/frontend/src/components/ImageUploadModal/index.tsx index f736811..ad80a65 100644 --- a/frontend/src/components/ImageUploadModal/index.tsx +++ b/frontend/src/components/ImageUploadModal/index.tsx @@ -65,51 +65,54 @@ export default function ImageUploadModal({ title, buttonText, onClose }: ImageUp }; return ( -
-
-
- {title} - -
-
-
-
- -

- 파일을 업로드하려면 클릭하거나 -
- 드래그하여 파일을 여기에 놓으세요 -

-
-
- {files.length > 0 && ( -
- setFiles(files.filter((_, i) => i !== index))} - /> -
- )} -
+
+
+

{title}

+ +
+
-
+ {files.length > 0 && ( +
+ setFiles(files.filter((_, i) => i !== index))} + /> +
+ )} +
+
+
);