결제 정보 하단 시트 수정

This commit is contained in:
focp212@naver.com
2025-10-10 17:57:11 +09:00
parent a9439b5241
commit 005941bc8b
5 changed files with 120 additions and 72 deletions

View File

@@ -11,7 +11,7 @@ export interface NoInterestInfoBottomSheetProps {
cardCompany?: string;
cardCompanyOptions?: Array<string>;
installmentDetails?: Array<InstallmentDetails>;
setCardCompany?: (cardCompany: string) => void;
changeToCardCompany?: (cardCompany: string) => void;
};
export const NoInterestInfoBottomSheet = ({
@@ -20,7 +20,7 @@ export const NoInterestInfoBottomSheet = ({
cardCompany,
cardCompanyOptions,
installmentDetails,
setCardCompany
changeToCardCompany
}: NoInterestInfoBottomSheetProps) => {
const onClickToClose = () => {
@@ -29,8 +29,8 @@ export const NoInterestInfoBottomSheet = ({
const onChangeToCardCompany = (e: ChangeEvent<HTMLSelectElement>) => {
let value = e.target.value;
if(setCardCompany){
setCardCompany(value);
if(changeToCardCompany){
changeToCardCompany(value);
}
};