ars sms재전송

This commit is contained in:
focp212@naver.com
2025-09-24 13:59:21 +09:00
parent f2337e269d
commit 2ef446f0e7
3 changed files with 98 additions and 14 deletions

View File

@@ -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 }
>
<div className="bottomsheet-header">
<div className="bottomsheet-title">
<h2> </h2>
<h2> </h2>
<button
className="close-btn"
type="button"