react-native-otp-code-generator
Version:
react native OTP code generator
8 lines • 467 B
TypeScript
interface OtpResponse {
otp: string;
timeRemaining: string;
}
export declare function generateOtp(base32: string, successCallback: (otp: string) => void, errorCallback: (errorCode: string, errorMessage: string) => void): void;
export declare function generateOtpWithTime(base32: string, successCallback: (otpWithTime: OtpResponse) => void, errorCallback: (errorCode: string, errorMessage: string) => void): void;
export {};
//# sourceMappingURL=index.d.ts.map