API Reference
AdditionalField
Below is the AdditionalField
interface which allows you to define custom fields for your authentication flow such as signup or user settings.
Prop | Type | Default |
---|---|---|
description? | any | - |
instructions? | any | - |
label | ReactNode | - |
placeholder? | string | - |
required? | boolean | - |
type | FieldType | - |
validate? | (value: string) => Promise<boolean> | - |