WizardForm
packages/ui/src/components/data/WizardForm.tsx
Import
Subpath export:
@marktiderman/genesis-ui/dataimport { WizardForm } from "@marktiderman/genesis-ui/data";Components
Auto-generated from TypeScript source via
react-docgen-typescript.WizardForm
| Prop | Type | Default | Description |
|---|---|---|---|
| action* | enum | — | |
| fields* | ResourceFormFieldDef[] | — | |
| form* | UseFormReturn<Record<string, unknown>> | — | |
| isSaving* | boolean | — | |
| onSubmit* | (data: Record<string, unknown>) => Promise<void> | — | |
| steps* | WizardStep[] | — | |
| onInvalid | ((errors: FieldErrors) => void) | — | |
| renderField | ((field: ResourceFormFieldDef, control: Control<Record<string, unknown>, any, Record<string, unknown>>, action: "create" | "edit", watchedValues: Record<...>) => ReactNode) | — |