GitHub

Resend Confirmation Form

Block
Form to resend email confirmation

Basic Usage

Loading...

Installation

pnpm add @corew500/ui

Usage

import { ResendConfirmationForm } from "@corew500/ui/blocks/resend-confirmation-form"

<ResendConfirmationForm>Content</ResendConfirmationForm>

API Reference

Props

PropTypeDefaultDescription
onFormSubmit(data: ResendConfirmationFormData) => voidCalled when the form is submitted
loadingenumfalseWhether the form is in a loading state
successenumfalseWhen true, shows success state instead of form
titlestringResend confirmation email
descriptionstringEnter your email address to receive a new confirmation link.
successTitlestringEmail sent!
successDescriptionstringWe've sent a confirmation link to your email address.
successSubDescriptionstringCheck your inbox and click the link to confirm your account.
successActionenum
labels{ email?: string; }{}
placeholders{ email?: string; }{}
buttonLabels{ submit?: string; loading?: string; backToLogin?: string; }{}
errors{ email?: string; general?: string; }{}
backToLoginHrefstring#