extended-dynamic-forms
Version:
Extended React JSON Schema Form (RJSF) v6 with custom components, widgets, templates, layouts, and form events
27 lines (25 loc) • 1.01 kB
TypeScript
import { WebhookConfig } from './types';
export interface WizardStep {
id: string;
title: string;
description?: string;
}
export interface WizardFormProps {
schema: any;
uiSchema: any;
conditions?: any[];
webhooks?: WebhookConfig[];
formData?: any;
onSubmit?: (data: any) => void;
onStepChange?: (step: number, data: any) => void;
onFieldFocus?: (event: any) => void;
onFieldBlur?: (event: any) => void;
onFieldChange?: (event: any) => void;
showProgressBar?: boolean;
showStepDescription?: boolean;
submitButtonText?: string;
liveValidate?: boolean;
showErrorList?: boolean;
}
export declare function WizardForm({ schema, uiSchema, conditions, // JSON Rules Engine format conditions
webhooks, formData: initialFormData, onSubmit, onStepChange, onFieldFocus, onFieldBlur, onFieldChange, showProgressBar, showStepDescription, submitButtonText, liveValidate, showErrorList, }: WizardFormProps): import("react/jsx-runtime").JSX.Element;