UNPKG

extended-dynamic-forms

Version:

Extended React JSON Schema Form (RJSF) v6 with custom components, widgets, templates, layouts, and form events

29 lines (27 loc) 1.28 kB
import { WebhookConfig } from './types'; export interface WizardStep { id: string; title: string; description?: string; } export interface WizardFormProps { schema: any; uiSchema: 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; onLiveChange?: (completeFlatData: any) => void; showProgressBar?: boolean; showStepDescription?: boolean; submitButtonText?: string; liveValidate?: boolean; showErrorList?: boolean; onWebhookStart?: (webhook: WebhookConfig, event: any) => void; onWebhookComplete?: (webhook: WebhookConfig, event: any, response: any) => void; onWebhookError?: (webhook: WebhookConfig, event: any, error: Error) => void; } export declare function WizardForm({ schema, uiSchema, webhooks, formData: initialFormData, onSubmit, onStepChange, onFieldFocus, onFieldBlur, onFieldChange, onLiveChange, showProgressBar, showStepDescription, submitButtonText, liveValidate, showErrorList, onWebhookStart, onWebhookComplete, onWebhookError, }: WizardFormProps): import("react/jsx-runtime").JSX.Element;