@frigade/react 1.35.24 → 1.35.26
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 +2 -2
- package/lib/index.js +246 -227
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +223 -204
- package/lib/index.mjs.map +1 -1
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -509,8 +509,8 @@ interface FrigadeFormProps extends DefaultFrigadeFlowProps {
|
|
|
509
509
|
showFrigadeBranding?: boolean;
|
|
510
510
|
/**
|
|
511
511
|
* This function is called when the user submits data in a step.
|
|
512
|
-
* If it returns a string or
|
|
513
|
-
*
|
|
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.
|
|
514
514
|
*/
|
|
515
515
|
validationHandler?: (step: StepData, index: number, nextStep?: StepData, allFormData?: any, stepSpecificFormData?: any) => Promise<string | null | boolean | undefined>;
|
|
516
516
|
/**
|