增加airtel钱包

This commit is contained in:
2026-09-08 01:35:01 +08:00
parent 9ad191ffc6
commit 3771faf12b
6 changed files with 68 additions and 3 deletions
+26
View File
@@ -339,3 +339,29 @@ export class AmazonPayOTPBind extends Component<{
);
}
}
export class AirtelPersonalOTPBind extends Component<{
onRequestOTP: (walletType: WalletType, params: any) => Promise<any>;
onVerifyOTP: (walletType: WalletType, params: any) => Promise<any>;
onSuccess: (result: any) => void;
onError: (error: string) => void;
isDebug: boolean;
initialMobile?: string;
}> {
render() {
return (
<OTPBindUI
walletType={WalletType.AIRTEL_PERSONAL}
title="Bind Airtel"
subtitle="4-digit OTP via Airtel web API"
otpLength={4}
onRequestOTP={this.props.onRequestOTP}
onVerifyOTP={this.props.onVerifyOTP}
onSuccess={this.props.onSuccess}
onError={this.props.onError}
isDebug={this.props.isDebug}
initialMobile={this.props.initialMobile}
/>
);
}
}