diff --git a/baedalmate/src/components/utils/usePopup.tsx b/baedalmate/src/components/utils/usePopup.tsx
index ced2d64..a587d93 100644
--- a/baedalmate/src/components/utils/usePopup.tsx
+++ b/baedalmate/src/components/utils/usePopup.tsx
@@ -1,12 +1,13 @@
-import React, {useState} from 'react';
+import React from 'react';
import Modal from 'react-native-modal/dist/modal';
-import {View, TouchableOpacity, TouchableHighlight} from 'react-native';
+import {View, TouchableHighlight, Image} from 'react-native';
import {TextKRBold, TextKRReg} from 'themes/text';
import {
WHITE_COLOR,
LINE_GRAY_COLOR,
PRIMARY_COLOR,
DARK_GRAY_COLOR,
+ LOADING_PRIMARY_ICON,
} from 'themes/theme';
export const UsePopup = ({
@@ -16,6 +17,15 @@ export const UsePopup = ({
handleModal,
choiceCnt,
confirmEvent,
+ icon,
+}: {
+ title;
+ modal;
+ handleModal;
+ choiceCnt;
+ confirmEvent?;
+ description?;
+ icon?;
}) => {
return (
@@ -45,10 +55,18 @@ export const UsePopup = ({
style={{
justifyContent: 'center',
alignItems: 'center',
- borderBottomWidth: 1,
+ borderBottomWidth: icon ? 0 : 1,
borderColor: LINE_GRAY_COLOR,
paddingHorizontal: 15,
}}>
+ {icon && (
+
+
+
+ )}
-
- {choiceCnt > 1 && (
+ {confirmEvent && (
+
+ {choiceCnt > 1 && (
+ {
+ handleModal();
+ }}
+ underlayColor={LINE_GRAY_COLOR}>
+
+ 취소
+
+
+ )}
{
+ confirmEvent();
handleModal();
}}
underlayColor={LINE_GRAY_COLOR}>
- 취소
+ 확인
- )}
- {
- confirmEvent();
- handleModal();
- }}
- underlayColor={LINE_GRAY_COLOR}>
-
- 확인
-
-
-
+
+ )}