@frigade/react 1.35.27 → 1.35.28

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
@@ -508,9 +508,9 @@ interface FrigadeFormProps extends DefaultFrigadeFlowProps {
508
508
  */
509
509
  showFrigadeBranding?: boolean;
510
510
  /**
511
- * This function is called when the user submits data in a step.
512
- * If it returns a string or false, the flow will not proceed to the next step. The string will be displayed as an error message if passed.
513
- * If it returns true, the flow will proceed to the next step.
511
+ * Async function resolved when the user submits data in a step.
512
+ * If the promise evaluates to a string or `false`, the flow will not proceed to the next step. The string will be displayed as an error message if passed.
513
+ * If the promise evaluates to `true`, the flow will proceed to the next step.
514
514
  */
515
515
  validationHandler?: (step: StepData, index: number, nextStep?: StepData, allFormData?: any, stepSpecificFormData?: any) => Promise<string | null | boolean | undefined>;
516
516
  /**