@frigade/react 1.32.27 → 1.32.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 +2 -2
- package/lib/index.js +32 -32
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +31 -31
- package/lib/index.mjs.map +1 -1
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -315,7 +315,7 @@ interface HeroChecklistProps extends Omit<DefaultFrigadeFlowProps, 'flowId'> {
|
|
|
315
315
|
onCompleteStep?: (index: number, stepData: StepData) => void;
|
|
316
316
|
selectedStep?: number;
|
|
317
317
|
setSelectedStep?: (index: number) => void;
|
|
318
|
-
customStepTypes?:
|
|
318
|
+
customStepTypes?: Record<string, (stepData: StepData, appearance: Appearance) => React__default.ReactNode>;
|
|
319
319
|
}
|
|
320
320
|
|
|
321
321
|
interface FrigadeHeroChecklistProps extends HeroChecklistProps {
|
|
@@ -445,7 +445,7 @@ interface ToolTipProps extends Omit<DefaultFrigadeFlowProps, 'flowId'> {
|
|
|
445
445
|
[key: string]: string | number | boolean;
|
|
446
446
|
};
|
|
447
447
|
selectedStep?: number;
|
|
448
|
-
customStepTypes?:
|
|
448
|
+
customStepTypes?: Record<string, (stepData: StepData) => React__default.ReactNode>;
|
|
449
449
|
appearance?: Appearance;
|
|
450
450
|
/**
|
|
451
451
|
* Shows a close button in the top right corner of the tooltip. This will end the flow.
|