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