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 8c344be commit 963f7deCopy full SHA for 963f7de
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