@frigade/react 1.35.46 → 1.35.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 +2 -2
- package/lib/index.js +40 -40
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +88 -88
- package/lib/index.mjs.map +1 -1
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -457,7 +457,7 @@ interface FrigadeFormProps extends DefaultFrigadeFlowProps {
|
|
|
457
457
|
* Map of custom components. The key must match the `type` property of the step defined in `config.yml`
|
|
458
458
|
*/
|
|
459
459
|
customStepTypes?: {
|
|
460
|
-
[key: string]: (params: {
|
|
460
|
+
[key: string]: ((params: {
|
|
461
461
|
flowId: string;
|
|
462
462
|
stepData: StepData;
|
|
463
463
|
canContinue: boolean;
|
|
@@ -468,7 +468,7 @@ interface FrigadeFormProps extends DefaultFrigadeFlowProps {
|
|
|
468
468
|
customFormElements?: {
|
|
469
469
|
[key: string]: (params: FormInputProps) => React__default.ReactNode;
|
|
470
470
|
};
|
|
471
|
-
}) => React__default.ReactNode;
|
|
471
|
+
}) => React__default.ReactNode) | React__default.ReactNode;
|
|
472
472
|
};
|
|
473
473
|
/**
|
|
474
474
|
* Map of custom form components. Can only be used with a step of type `multiInput` (defined in `config.yml`).
|