We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 73e3b16 commit 5ef3ee7Copy full SHA for 5ef3ee7
packages/react-form-renderer/src/files/use-field-api.d.ts
@@ -1,5 +1,5 @@
1
import { ReactNode } from 'react';
2
-import { FieldMetaState, FieldInputProps } from 'react-final-form';
+import { FieldMetaState, FieldInputProps, UseFieldConfig } from 'react-final-form';
3
import { AnyObject } from './common';
4
5
export interface ValidatorType extends Object {
@@ -12,6 +12,9 @@ export interface UseFieldApiConfig extends AnyObject {
12
component: string;
13
validate?: ValidatorType[];
14
}
15
+export interface UseFieldApiComponentConfig extends UseFieldConfig<any> {
16
+ name: string;
17
+}
18
19
export interface UseFieldApiProps<
20
FieldValue,
0 commit comments