React: Props
These are the inputs accepted by the React integration. Event callback props are also shown where the framework uses callbacks instead of emitted template events.
| Name | Type | Default | Description |
|---|---|---|---|
space | string | — | The space ID that owns the form. Required. |
form | string | — | The form ID to render. Required. |
language | string | 'en' | Translation key used by the form UI. |
config | UserConfig | {} | Action settings, translations, and class-name mappings. |
initialFormData | Form | undefined | Preloaded form data. Skips the initial client-side request when supplied. |
input | (data: UserData) => void | undefined | Field-change callback. |
reset | () => void | undefined | Form-reset callback. |
submit | (data: SubmitData) => void | undefined | Submit-attempt callback. |
mailSend | (data: { success: boolean }) => void | undefined | Configured email-delivery callback. |