Skip to content

Commit

Permalink
withTypes docs
Browse files Browse the repository at this point in the history
  • Loading branch information
erikras committed Jun 11, 2019
1 parent b71a420 commit 3dc413a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ const MyForm = () => (
- [`useField`](#usefield)
- [`useFormState`](#useformstate)
- [`version: string`](#version-string)
- [`withTypes<T>: () => { Form<T>, FormSpy<T> }`](#withtypest----formt-formspyt-)
- [Types](#types)
- [`FieldProps`](#fieldprops)
- [`afterSubmit?: () => void`](#aftersubmit---void)
Expand Down Expand Up @@ -496,6 +497,10 @@ The `useFormState` hook takes one optional parameter, which matches the exact sh

The current used version of 🏁 React Final Form.

### `withTypes<T>: () => { Form<T>, FormSpy<T> }`

Provides versions of `Form` and `FormSpy` that will have strongly typed `values`.

---

## Types
Expand Down

0 comments on commit 3dc413a

Please sign in to comment.