@frigade/react 1.32.46 → 1.32.48

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.d.ts CHANGED
@@ -416,11 +416,12 @@ interface FormProps extends DefaultFrigadeFlowProps {
416
416
  modalPosition?: ModalPosition;
417
417
  showPagination?: boolean;
418
418
  allowBackNavigation?: boolean;
419
+ showFrigadeBranding?: boolean;
419
420
  /**
420
421
  * This function is called when the user submits data in a step.
421
422
  * If it returns a string, the flow will not proceed to the next step and the string will be displayed as an error message.
422
423
  */
423
- validationHandler?: (step: StepData, index: number, nextStep?: StepData, allFormData?: any, stepSpecificFormData?: object) => string | null | undefined;
424
+ validationHandler?: (step: StepData, index: number, nextStep?: StepData, allFormData?: any, stepSpecificFormData?: object) => Promise<string | null | undefined>;
424
425
  }
425
426
  declare const FrigadeForm: FC<FormProps>;
426
427