Guaxu Docs
    Preparing search index...

    Function useGuaxuForm

    • Type Parameters

      • T extends FormData

      Parameters

      • __namedParameters: { defaultValues?: DefaultValues<T> }

      Returns {
          form: {
              DatePicker: <K extends string>(props: DatePickerProps<T, K>) => Element;
              Form: (props: Omit<FormProps<T>, "methods">) => Element;
              Select: <K extends string>(props: SelectProps<T, K>) => Element;
              TextInput: (
                  props: CommonTextInputProps<T> | MaskedTextInputProps<T>,
              ) => Element;
          };
          getValues: UseFormGetValues<T>;
          setValues: UseFormSetValue<T>;
          watch: UseFormWatch<T>;
      }