@wise/dynamic-flow-types 3.0.0-experimental-0d693ac → 3.0.0-experimental-af37aae

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.
@@ -1,4 +1,3 @@
1
- import type { Action, Step } from '../next';
2
1
  import type { ReactNode } from 'react';
3
2
  import { BaseRendererProps, RendererProps } from './RendererProps';
4
3
  export type AnalyticsEventDispatcher = (eventName: string, properties?: Record<string, unknown>) => void;
@@ -23,16 +22,6 @@ export type StepRendererProps = BaseRendererProps & {
23
22
  */
24
23
  loadingState: LoadingState;
25
24
  title?: string;
26
- /**
27
- * @experimental Please do not use this property. It is only here to support a legacy camera step.
28
- * @deprecated Please use childrenProps instead.
29
- */
30
- step?: Step;
31
- /**
32
- * @experimental Please do not use this function. Calling onAction from a step renderer completely bypasses the core logic and may result in unexpected behavior. It is only here to support a legacy camera step.
33
- * @deprecated Please use childrenProps instead.
34
- */
35
- onAction?: (action: Action) => void | Promise<void>;
36
25
  children: ReactNode;
37
26
  childrenProps: RendererProps[];
38
27
  };