From a23006954a5f04461317edcce92949be866d067c Mon Sep 17 00:00:00 2001 From: codingaring Date: Sun, 12 May 2024 15:51:28 +0900 Subject: [PATCH] =?UTF-8?q?=E2=99=BB=EF=B8=8F=20Refactor=20:=20change=20?= =?UTF-8?q?=20modal=20event=20type?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/common/Modals/ModalElements/ModalDim.ts | 2 +- components/common/Modals/ModalProp.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/common/Modals/ModalElements/ModalDim.ts b/components/common/Modals/ModalElements/ModalDim.ts index 48667b944a..126c89be9e 100644 --- a/components/common/Modals/ModalElements/ModalDim.ts +++ b/components/common/Modals/ModalElements/ModalDim.ts @@ -1,6 +1,6 @@ import styled from "styled-components"; -export const ModalDim = styled.button` +export const ModalDim = styled.div` background-color: #000; opacity: 0.4; position: fixed; diff --git a/components/common/Modals/ModalProp.ts b/components/common/Modals/ModalProp.ts index 77e9841c22..7a917d5236 100644 --- a/components/common/Modals/ModalProp.ts +++ b/components/common/Modals/ModalProp.ts @@ -2,7 +2,7 @@ import { FolderListDataForm } from "@data-access/axios/getCategory"; import { MouseEvent } from "react"; export interface BaseModalProps { - handleCloseModal: (event: MouseEvent) => void; + handleCloseModal: (event: MouseEvent) => void; } export interface DeleteLinkProps extends BaseModalProps {