UNPKG

@explita/daily-toolset-form

Version:

A lightweight form toolkit for React built with developer ergonomics in mind. Includes a flexible Form component, useForm, useField, and useFormContext hooks for managing form state and validation with ease. Designed to simplify complex forms while remain

8 lines (7 loc) 272 B
import React from "react"; type FormSpyProps<T> = { select?: (values: T) => any; children: (selected: any) => React.ReactNode; }; export declare function FormSpy<T extends Record<string, any>>({ select, children, }: FormSpyProps<T>): React.JSX.Element; export {};