UNPKG

extended-dynamic-forms

Version:

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

32 lines (30 loc) 791 B
import { default as React } from 'react'; export interface WizardStep { id: string; title: string; description?: string; icon?: React.ComponentType<{ className?: string; }>; completed?: boolean; disabled?: boolean; } export interface WizardLayoutProps { title: string; subtitle?: string; steps: WizardStep[]; currentStep: number; children: React.ReactNode; onStepChange?: (stepIndex: number) => void; onPrevious?: () => void; onNext?: () => void; onSubmit?: () => void; canGoNext?: boolean; canGoPrevious?: boolean; isLastStep?: boolean; submitLabel?: string; nextLabel?: string; previousLabel?: string; className?: string; } export declare const WizardLayout: React.FC<WizardLayoutProps>;