From 9e175bdf15c6a122ff2d0e73318bacb57385f206 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EB=B0=95=EC=83=81=ED=98=84?= Date: Wed, 31 Jan 2024 11:09:36 +0900 Subject: [PATCH] =?UTF-8?q?=EB=B9=84=ED=96=89=20=EC=8B=9C=EB=AC=BC?= =?UTF-8?q?=EB=A0=88=EC=9D=B4=EC=85=98=20=EA=B3=B5=ED=86=B5=20=EC=BB=B4?= =?UTF-8?q?=ED=8F=AC=EB=84=8C=ED=8A=B8=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../simulation/AnalysisSimulationDetail.js | 5 +++-- src/components/ui/modal/CustomModal.tsx | 14 ++++++++++++-- 2 files changed, 15 insertions(+), 4 deletions(-) diff --git a/src/components/analysis/simulation/AnalysisSimulationDetail.js b/src/components/analysis/simulation/AnalysisSimulationDetail.js index 921f92f2..e1a87e2e 100644 --- a/src/components/analysis/simulation/AnalysisSimulationDetail.js +++ b/src/components/analysis/simulation/AnalysisSimulationDetail.js @@ -10,9 +10,10 @@ import { UncontrolledDropdown, DropdownToggle, DropdownMenu, - DropdownItem + DropdownItem, + Button } from 'reactstrap'; -import { Badge, Button } from '../../ui/index'; +import { Badge } from '../../ui/index'; import drone_img from '../../../assets/images/drone.jpg'; import { ReactComponent as Simulation_icon } from '../../../assets/images/simulation_arrow.svg'; import { IMG_PATH } from '../../../configs/constants'; diff --git a/src/components/ui/modal/CustomModal.tsx b/src/components/ui/modal/CustomModal.tsx index 6307ced4..b827cb5e 100644 --- a/src/components/ui/modal/CustomModal.tsx +++ b/src/components/ui/modal/CustomModal.tsx @@ -5,17 +5,27 @@ interface Props { isOpen: boolean; toggle: () => void; className?: string; + style?: React.CSSProperties; children: ReactNode; } +/** + * + * @param isOpen: boolean + * @param toggle: () => void + * @param className?: string + * @param style?: React.CSSProperties + * + */ export default function CustomModal({ isOpen, toggle, className, - children + children, + style }: Props) { return ( - + {children} );