Files
backup-tool/frontend/node_modules/react-hook-form/dist/logic/createFormControl.d.ts
T
alex d3b92593d5 feat(frontend): add API client, layout, and routing
- Create Axios-based API client with sources, jobs, and dashboard endpoints
- Add responsive Layout component with navigation sidebar
- Set up React Router with Dashboard, Backups, and Settings routes
- Configure TanStack Query provider with default options
- Use lucide-react for navigation icons
2026-05-11 21:47:20 +02:00

18 lines
828 B
TypeScript

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'>;
};
//# sourceMappingURL=createFormControl.d.ts.map