You’re viewing the 2.0 (LTS) docs. View the current 3.0 version of this page.
useResendVerificationCode hook resends the verification code for signup, login, or account linking.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Hook for resending a verification code
useResendVerificationCode hook resends the verification code for signup, login, or account linking.
import { useResendVerificationCode } from "@getpara/react-native-wallet";
import { useResendVerificationCode } from "@getpara/react-native-wallet";
import { Button } from "react-native";
function ResendCodeButton() {
const { resendVerificationCodeAsync, isPending } = useResendVerificationCode();
return (
<Button
title={isPending ? "Sending..." : "Resend Code"}
onPress={() => resendVerificationCodeAsync({ type: "SIGNUP" })}
disabled={isPending}
/>
);
}