UEA-PRODEM
This commit is contained in:
+13
@@ -1,4 +1,17 @@
|
||||
import type { FieldValues, UseFormProps, UseFormReturn } from '../types';
|
||||
export declare const DEFAULT_FORM_STATE: {
|
||||
submitCount: number;
|
||||
isDirty: boolean;
|
||||
isReady: boolean;
|
||||
isValidating: boolean;
|
||||
isSubmitted: boolean;
|
||||
isSubmitting: boolean;
|
||||
isSubmitSuccessful: boolean;
|
||||
isValid: boolean;
|
||||
touchedFields: {};
|
||||
dirtyFields: {};
|
||||
validatingFields: {};
|
||||
};
|
||||
export declare function createFormControl<TFieldValues extends FieldValues = FieldValues, TContext = any, TTransformedValues = TFieldValues>(props?: UseFormProps<TFieldValues, TContext, TTransformedValues>): Omit<UseFormReturn<TFieldValues, TContext, TTransformedValues>, 'formState'> & {
|
||||
formControl: Omit<UseFormReturn<TFieldValues, TContext, TTransformedValues>, 'formState'>;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user