import { BottomSheetMotionDuration, BottomSheetMotionVaiants } from '@/entities/common/model/constant'; import { IMAGE_ROOT } from '@/shared/constants/common'; import { motion } from 'framer-motion'; import { useTranslation } from 'react-i18next'; export interface CashReceitPurposeUpdateBottomSheetProps { bottomSheetOn: boolean; setBottomSheetOn: (bottomSheetOn: boolean) => void; callPurposeUpdate: () => void; }; export const CashReceitPurposeUpdateBottomSheet = ({ bottomSheetOn, setBottomSheetOn, callPurposeUpdate }: CashReceitPurposeUpdateBottomSheetProps) => { const { t } = useTranslation(); const onClickToClose = () => { setBottomSheetOn(false); }; const onCliickToPurposeUpdate = () => { callPurposeUpdate(); }; return ( <> { (bottomSheetOn) &&
}{ t('transaction.bottomSheet.cashReceiptPurposeUpdate.description') }