fix: complete form factory functionality, docs

This commit is contained in:
Tanner Linsley
2023-05-01 10:59:37 -06:00
parent b274bccf3d
commit c444704ae3
7 changed files with 103 additions and 51 deletions

View File

@@ -1,5 +1,35 @@
export * from '@tanstack/form-core'
export * from './useForm'
export * from './Field'
export * from './useField'
export * from './createFormFactory'
export type {
ChangeProps,
DeepKeys,
DeepValue,
FieldApiOptions,
FieldInfo,
FieldMeta,
FieldOptions,
FieldState,
FormOptions,
FormState,
InputProps,
RequiredByKey,
Updater,
UpdaterFn,
UserChangeProps,
UserInputProps,
ValidationCause,
ValidationError,
ValidationMeta,
} from '@tanstack/form-core'
export { FormApi, FieldApi, functionalUpdate } from '@tanstack/form-core'
export type { FormComponent, FormProps } from './useForm'
export { useForm } from './useForm'
export type { FieldComponent } from './Field'
export { Field } from './Field'
export type { UseField } from './useField'
export { useField } from './useField'
export type { FormFactory } from './createFormFactory'
export { createFormFactory } from './createFormFactory'