UNPKG

@bolttech/form-engine

Version:

A form engine based on form events for react projects

13 lines (12 loc) 450 B
import { THookReturn, TUseFormProps } from '../react/types'; /** * This hooks lets you connect to your form/s in anywhere in your application. Even if you are outside the <FormProvider /> * * You can connect to: * - A specific form * - Several forms identified by their id's * - A group of forms * */ declare const useForm: ({ onValid, onData, onClick, onSubmit, id, ids, }: TUseFormProps) => THookReturn; export default useForm;