@zealicsolutions/web-ui 0.4.80 → 0.4.82

Sign up to get free protection for your applications and to get access to all the features.
@@ -21,7 +21,7 @@ export declare type OrganismContextType = {
21
21
  submitHandler?: (data: {
22
22
  formId: string;
23
23
  data: AnyObject;
24
- }) => void;
24
+ }) => Promise<void>;
25
25
  validations?: PasswordRuleValidation[];
26
26
  editable?: boolean;
27
27
  isFormInEditMode?: boolean;
@@ -21,7 +21,7 @@ export declare type OrganismContextProviderProps = PropsWithChildren<{
21
21
  submitHandler: (data: {
22
22
  formId: string;
23
23
  data: AnyObject;
24
- }) => void;
24
+ }) => Promise<void>;
25
25
  isFormInEditMode: boolean;
26
26
  organismMetadata: AnyObject;
27
27
  isConfigurationMode: boolean;