@zealicsolutions/web-ui 0.3.22 → 0.3.23

Sign up to get free protection for your applications and to get access to all the features.
@@ -8,5 +8,6 @@ export declare type FormStepContextType = {
8
8
  canGoToNextStep: boolean;
9
9
  canGoToPrevStep: boolean;
10
10
  setStep: Dispatch<SetStateAction<number>>;
11
+ setInitSteps: Dispatch<SetStateAction<number>>;
11
12
  };
12
13
  export declare const FormStepContext: import("react").Context<FormStepContextType>;
@@ -1,5 +1,5 @@
1
1
  import { PropsWithChildren } from 'react';
2
- export declare type FormStepContextProviderProps = PropsWithChildren<Partial<{
3
- initSteps: number;
4
- }>>;
5
- export declare const FormStepContextProvider: ({ initSteps, children, }: FormStepContextProviderProps) => JSX.Element;
2
+ export declare type FormStepContextProviderProps = PropsWithChildren<{
3
+ initialSteps?: number;
4
+ }>;
5
+ export declare const FormStepContextProvider: ({ initialSteps, children, }: FormStepContextProviderProps) => JSX.Element;
@@ -3,6 +3,6 @@ import { ContainerComponentProps, Molecule } from 'containers';
3
3
  import { GroupedMoleculesByStep } from './utils';
4
4
  export declare type OrganismContextType = {
5
5
  items: (ContainerComponentProps | Molecule)[];
6
- groupedMoleculeByStep: GroupedMoleculesByStep;
6
+ getGroupedMoleculesByFormStep: () => GroupedMoleculesByStep;
7
7
  };
8
8
  export declare const OrganismContext: import("react").Context<OrganismContextType>;