Files
backup-tool/frontend/node_modules/react-hook-form/dist/useFormControlContext.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

12 lines
623 B
TypeScript

import React from 'react';
import type { Control, FieldValues } from './types';
/**
* Separate context for `control` to prevent unnecessary rerenders.
* Internal hooks that only need control use this instead of full form context.
*/
export declare const HookFormControlContext: React.Context<Control | null>;
/**
* @internal Internal hook to access only control from context.
*/
export declare const useFormControlContext: <TFieldValues extends FieldValues, TContext = any, TTransformedValues = TFieldValues>() => Control<TFieldValues, TContext, TTransformedValues>;
//# sourceMappingURL=useFormControlContext.d.ts.map