Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "components/Form"

Index

Type aliases

FormProps

FormProps<A, O>: FocusInvalidElementProps & PropsWithChildren<__type> & PropsFromFinalFormConfig<O> & object

Type parameters

RenderProps

RenderProps<O>: OmitStrict<FormRenderProps<O>, "error" | "submitError"> & object

Replace any with string for improved type-safety. io-ts error messages are strings, so we can get away with this here.

Type parameters

  • O

SubmissionResponse

SubmissionResponse<FD>: ValidationErrors<FD> | undefined | Promise<ValidationErrors<FD> | undefined>

Type parameters

Functions

Const Form

  • Form<A, O>(props: FormProps<A, O>): Element

Const formForCodec

  • formForCodec<A, O>(codec: Type<A, O>): (Anonymous function)

Generated using TypeDoc