@zealicsolutions/web-ui 0.3.152 → 0.3.153
Sign up to get free protection for your applications and to get access to all the features.
@@ -1,16 +1,11 @@
|
|
1
1
|
import { DataConnectionValues } from 'containers/types/moleculeTypes';
|
2
2
|
import { Dispatch, SetStateAction } from 'react';
|
3
3
|
import type { AnyObject } from 'typescript';
|
4
|
-
declare type UseSetFormDataProps<DefaultValueType> =
|
5
|
-
defaultValue
|
4
|
+
declare type UseSetFormDataProps<DefaultValueType> = {
|
5
|
+
defaultValue?: DefaultValueType;
|
6
6
|
dataModelField: DataConnectionValues;
|
7
7
|
setFormData: Dispatch<SetStateAction<AnyObject>>;
|
8
8
|
fieldName: string;
|
9
|
-
}
|
10
|
-
export declare const useSetFormData: <DefaultValueType>({ setFormData, defaultValue, dataModelField, fieldName, }:
|
11
|
-
defaultValue: DefaultValueType;
|
12
|
-
dataModelField: DataConnectionValues;
|
13
|
-
setFormData: Dispatch<SetStateAction<AnyObject>>;
|
14
|
-
fieldName: string;
|
15
|
-
}>) => void;
|
9
|
+
};
|
10
|
+
export declare const useSetFormData: <DefaultValueType>({ setFormData, defaultValue, dataModelField, fieldName, }: UseSetFormDataProps<DefaultValueType>) => void;
|
16
11
|
export {};
|