@frigade/react 1.35.21 → 1.35.23
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 +9 -0
- package/lib/index.js +241 -245
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +245 -249
- package/lib/index.mjs.map +1 -1
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -530,6 +530,15 @@ interface FrigadeFormProps extends DefaultFrigadeFlowProps {
|
|
|
530
530
|
* For `type` multiInputStep, the value contains another map similar to the structure returned from `onFormDataChange`
|
|
531
531
|
*/
|
|
532
532
|
prefillData?: Record<string, any>;
|
|
533
|
+
/**
|
|
534
|
+
* Whether to update the url when the page changes in multi-page forms. If enabled, the current url will be updated with the
|
|
535
|
+
* current step id in the following format: <my_url>?p=<current_step_id>
|
|
536
|
+
*
|
|
537
|
+
* This is useful when wanting to capture URL changes with third-party tracking tools.
|
|
538
|
+
*
|
|
539
|
+
* Default is false.
|
|
540
|
+
*/
|
|
541
|
+
updateUrlOnPageChange?: boolean;
|
|
533
542
|
}
|
|
534
543
|
declare const FrigadeForm: FC<FrigadeFormProps>;
|
|
535
544
|
|