UNPKG

@otitoju/formcraft-core

Version:

🚀 Lightweight, TypeScript-first form management library for React and React Native with built-in validation, zero dependencies, and excellent developer experience

5 lines • 275 B
import type { UseFormOptions, FormState, FormMethods } from "../types"; export declare function useForm<T extends Record<string, any> = Record<string, any>>(options?: UseFormOptions<T>): FormMethods<T> & { formState: FormState<T>; }; //# sourceMappingURL=useForm.d.ts.map