Automatically verifies an email address when mounted with a valid token.
Shows a loading state during verification, then transitions to either a success view or an error view with an option to resend the verification email.
Key Features:
email
const token = new URLSearchParams(location.search).get('verify_token')!;<EmailVerification token={token} email="user@example.com" onSuccess={() => console.log('Email verified')} onContinue={() => navigate('/dashboard')}/> Copy
const token = new URLSearchParams(location.search).get('verify_token')!;<EmailVerification token={token} email="user@example.com" onSuccess={() => console.log('Email verified')} onContinue={() => navigate('/dashboard')}/>
Automatically verifies an email address when mounted with a valid token.
Shows a loading state during verification, then transitions to either a success view or an error view with an option to resend the verification email.