interface ExperienceInputProps {
    defaultValues?: Partial<ExperienceInputFormData>;
    experienceFields: ExperienceInputFieldProps[];
    labels: {
        cancelButton?: string;
        submitButton?: string;
    };
    onCancel?: (() => void);
    onSubmit?: ((formData) => void);
    progress?: {
        current: number;
        total: number;
    };
    progressCompletionText?: string;
    screenMode: "desktop" | "mobile";
    subtitle1: string;
    title: string;
}

Properties

defaultValues?: Partial<ExperienceInputFormData>

Initial values for the form

experienceFields: ExperienceInputFieldProps[]

Configuration for experience options in the form

labels: {
    cancelButton?: string;
    submitButton?: string;
}

Labels for each field

Type declaration

  • Optional cancelButton?: string
  • Optional submitButton?: string
onCancel?: (() => void)

Type declaration

    • (): void
    • Returns void

onSubmit?: ((formData) => void)

Type declaration

progress?: {
    current: number;
    total: number;
}

Displays a progress indicator at the top of the page (with completion text, if desired)

Type declaration

  • current: number

    Current progress value

  • total: number

    Maximum progress value

progressCompletionText?: string

Completion text to show when showing progress indicator

screenMode: "desktop" | "mobile"

What size the screen currently is (affects page layout)

subtitle1: string

Subtitle line 1 text

title: string

Title text

Generated using TypeDoc