Interface WizardBaseInfoOptions<TFormCustomFields>

interface WizardBaseInfoOptions<TFormCustomFields> {
    views?: {
        Form?: ComponentClass<{
            blockProps: BlockComponentProps;
            defaultValues?: Partial<BasicUserInformationInputFormData<TFormCustomFields>>;
            handleCancel?: (() => void);
            handleSubmit: ((formData) => Promise<unknown>);
            progress: {
                current: number;
                isLastPage: boolean;
                total: number;
            };
        }, any> | FunctionComponent<{
            blockProps: BlockComponentProps;
            defaultValues?: Partial<BasicUserInformationInputFormData<TFormCustomFields>>;
            handleCancel?: (() => void);
            handleSubmit: ((formData) => Promise<unknown>);
            progress: {
                current: number;
                isLastPage: boolean;
                total: number;
            };
        }>;
    };
}

Type Parameters

  • TFormCustomFields

Properties

Properties

views?: {
    Form?: ComponentClass<{
        blockProps: BlockComponentProps;
        defaultValues?: Partial<BasicUserInformationInputFormData<TFormCustomFields>>;
        handleCancel?: (() => void);
        handleSubmit: ((formData) => Promise<unknown>);
        progress: {
            current: number;
            isLastPage: boolean;
            total: number;
        };
    }, any> | FunctionComponent<{
        blockProps: BlockComponentProps;
        defaultValues?: Partial<BasicUserInformationInputFormData<TFormCustomFields>>;
        handleCancel?: (() => void);
        handleSubmit: ((formData) => Promise<unknown>);
        progress: {
            current: number;
            isLastPage: boolean;
            total: number;
        };
    }>;
}

Type declaration

  • Optional Form?: ComponentClass<{
        blockProps: BlockComponentProps;
        defaultValues?: Partial<BasicUserInformationInputFormData<TFormCustomFields>>;
        handleCancel?: (() => void);
        handleSubmit: ((formData) => Promise<unknown>);
        progress: {
            current: number;
            isLastPage: boolean;
            total: number;
        };
    }, any> | FunctionComponent<{
        blockProps: BlockComponentProps;
        defaultValues?: Partial<BasicUserInformationInputFormData<TFormCustomFields>>;
        handleCancel?: (() => void);
        handleSubmit: ((formData) => Promise<unknown>);
        progress: {
            current: number;
            isLastPage: boolean;
            total: number;
        };
    }>

    View for the form

Generated using TypeDoc