From 44dfc3c83f5f77561c6b3c68f1b265763d8165b8 Mon Sep 17 00:00:00 2001 From: Kuheewon <119719994+HeHelee@users.noreply.github.com> Date: Wed, 13 Nov 2024 14:06:07 +0900 Subject: [PATCH] =?UTF-8?q?refactor:=20=ED=95=84=EC=9A=94=20=EC=97=86?= =?UTF-8?q?=EB=8A=94=20=ED=8C=8C=EC=9D=BC=20=EC=82=AD=EC=A0=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../features/CustomCalendar/PlanModal.tsx | 72 ------------------- 1 file changed, 72 deletions(-) delete mode 100644 src/components/features/CustomCalendar/PlanModal.tsx diff --git a/src/components/features/CustomCalendar/PlanModal.tsx b/src/components/features/CustomCalendar/PlanModal.tsx deleted file mode 100644 index f8f7fae..0000000 --- a/src/components/features/CustomCalendar/PlanModal.tsx +++ /dev/null @@ -1,72 +0,0 @@ -import React, { ReactNode } from "react"; -import styled from "@emotion/styled"; - -interface ModalProps { - onClose: () => void; - children: ReactNode; -} - -const Overlay = styled.div` - position: fixed; - top: 0; - left: 0; - right: 0; - bottom: 0; - background-color: rgba(0, 0, 0, 0.5); - display: flex; - align-items: center; - justify-content: center; - z-index: 1000; -`; - -const ModalContainer = styled.div` - background: white; - padding: 20px; - border-radius: 8px; - width: 90%; - max-width: 500px; - box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); -`; - -const ModalHeader = styled.div` - display: flex; - justify-content: space-between; - align-items: center; - margin-bottom: 16px; -`; - -const CloseButton = styled.button` - background: none; - border: none; - font-size: 1.5rem; - cursor: pointer; - color: #333; -`; - -const ModalTitle = styled.h2` - font-size: 1.25rem; - font-weight: bold; -`; - -const ModalContent = styled.div` - margin-top: 10px; - display: flex; - flex-direction: column; - gap: 10px; -`; - -const Modal: React.FC = ({ onClose, children }) => { - return ( - - e.stopPropagation()}> - - 플랜 수정 - × - - {children} - - - ); -}; - -export default Modal;