UNPKG

lynx-form-x

Version:

LynxFormX is a lightweight and intuitive form library built for the Lynx framework for mobile development. It streamlines form management by automatically binding fields, handling validation, and providing easy-to-use hooks for custom field manipulation—a

8 lines (7 loc) • 205 B
export declare const useField: (name: string) => { value: any; error: string | undefined; touched: boolean | undefined; setValue: (value: any) => any; setError: (error: any) => any; };