diff --git a/src/entities/additional-service/ui/ars/resend-sms-bottom-sheet.tsx b/src/entities/additional-service/ui/ars/resend-sms-bottom-sheet.tsx
index cedef50..cdc9182 100644
--- a/src/entities/additional-service/ui/ars/resend-sms-bottom-sheet.tsx
+++ b/src/entities/additional-service/ui/ars/resend-sms-bottom-sheet.tsx
@@ -1,6 +1,71 @@
-export const ArsResendSmsBottomSheet = () => {
+import { BottomSheetMotionDuration, BottomSheetMotionVaiants } from "@/entities/common/model/constant";
+import { IMAGE_ROOT } from '@/shared/constants/common';
+import { motion } from 'framer-motion';
+export interface ArsResendSmsBottomSheetProps {
+ bottomSheetOn: boolean;
+ setBottomSheetOn: (bottomSheetOn: boolean) => void;
+ phoneNumber?: string;
+ callResendSms: () => void;
+};
+
+export const ArsResendSmsBottomSheet = ({
+ bottomSheetOn,
+ setBottomSheetOn,
+ phoneNumber,
+ callResendSms
+}: ArsResendSmsBottomSheetProps) => {
+
+ const onClickToClose = () => {
+ setBottomSheetOn(false);
+ };
+
+ const onCliickToResendSms = () => {
+ if(callResendSms){
+ callResendSms();
+ }
+ onClickToClose();
+ };
return (
- <>>
+ <>
+ { (bottomSheetOn) &&
+
+ }
+
+
+
+
SMS 재전송
+
+
+
+
+
+
[01095800212] 번호로 SMS를 재발송 하시겠습니까?
+
+
+
+
+
+
+ >
);
};
\ No newline at end of file
diff --git a/src/entities/transaction/ui/cash-receit-purpose-update-bottom-sheet.tsx b/src/entities/transaction/ui/cash-receit-purpose-update-bottom-sheet.tsx
index 7508e61..19cf6f3 100644
--- a/src/entities/transaction/ui/cash-receit-purpose-update-bottom-sheet.tsx
+++ b/src/entities/transaction/ui/cash-receit-purpose-update-bottom-sheet.tsx
@@ -1,15 +1,16 @@
+import { BottomSheetMotionDuration, BottomSheetMotionVaiants } from '@/entities/common/model/constant';
import { IMAGE_ROOT } from '@/shared/constants/common';
import { motion } from 'framer-motion';
export interface CashReceitPurposeUpdateBottomSheetProps {
- setBottomSheetOn: (bottomSheetOn: boolean) => void;
bottomSheetOn: boolean;
+ setBottomSheetOn: (bottomSheetOn: boolean) => void;
callPurposeUpdate: () => void;
};
export const CashReceitPurposeUpdateBottomSheet = ({
- setBottomSheetOn,
bottomSheetOn,
+ setBottomSheetOn,
callPurposeUpdate
}: CashReceitPurposeUpdateBottomSheetProps) => {
@@ -20,11 +21,6 @@ export const CashReceitPurposeUpdateBottomSheet = ({
callPurposeUpdate();
};
- const variants = {
- hidden: { y: '100%' },
- visible: { y: '0%' },
- };
-
return (
<>
{ (bottomSheetOn) &&
@@ -34,12 +30,12 @@ export const CashReceitPurposeUpdateBottomSheet = ({
className="bottomsheet"
initial="hidden"
animate={ (bottomSheetOn)? 'visible': 'hidden' }
- variants={ variants }
- transition={{ duration: 0.5 }}
+ variants={ BottomSheetMotionVaiants }
+ transition={ BottomSheetMotionDuration }
>
-
신청 방법을 선택하세요
+ 현금영수증 용도 변경 안내
+
+
>
);
};
\ No newline at end of file