Skip to content

Commit

Permalink
Fix broken formatting on useField docs
Browse files Browse the repository at this point in the history
  • Loading branch information
zingerj authored Jan 7, 2020
1 parent 9316a86 commit 587c5ee
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/api/useField.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,6 @@ An object that contains relevant computed metadata about a field. More specifica

An object that contains helper functions which you can use to imperatively change the value, error value or touched status for the field in question. This is useful for components which need to change a field's status directly, without triggering change or blur events.

`setValue(value: any): void` - A function to change the field's value
`setTouched(value: boolean): void` - A function to change the field's touched status
`setError(value: any): void` - A function to change the field's error value
- `setValue(value: any): void` - A function to change the field's value
- `setTouched(value: boolean): void` - A function to change the field's touched status
- `setError(value: any): void` - A function to change the field's error value

0 comments on commit 587c5ee

Please sign in to comment.