Skip to content

Commit a8f1518

Browse files
committed
Fixed internal links
1 parent f630c4a commit a8f1518

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docs/api.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,28 +6,28 @@ The API for 🏁 React Final Form consists of three components and three hooks:
66

77
## Componenents
88

9-
### [`<Form>`](Form)
9+
### [`<Form>`](api/Form)
1010

1111
A component that surrounds your entire form and manages the form state. It can inject form state and functionality, e.g. a `handleSubmit` function for you to pass to your `<form>` element, via render props.
1212

13-
### [`<Field>`](Field)
13+
### [`<Field>`](api/Field)
1414

1515
A component that lives inside your `<Form>` and creates a "field". It register itself with the surrounding `<Form>` tag and manages all the state for a particular field, providing input callbacks (e.g. `onBlur`, `onChange`, and `onFocus`) as well as the value of the form and myriad metadata about the state of the field.
1616

17-
### [`<FormSpy>`](FormSpy)
17+
### [`<FormSpy>`](api/FormSpy)
1818

1919
A component that can tap into form-wide state from inside your `<Form>`. It's primarily only for advanced usage when form renders are being restricted via the `subscription` prop.
2020

2121
## Hooks
2222

23-
### [`useField()`](useField)
23+
### [`useField()`](api/useField)
2424

2525
A hook that will convert any of your components into a `<Field>` component, registering with the surrounding `<Form>` and providing field state to your component.
2626

27-
### [`useForm()`](useForm)
27+
### [`useForm()`](api/useForm)
2828

2929
A hook that will pluck the 🏁 Final Form `form` instance out of context.
3030

31-
### [`useFormState()`](useFormState)
31+
### [`useFormState()`](api/useFormState)
3232

3333
A hook that will convert any of your components into a `<FormSpy>` component, allowing fine-grained control over subscribing to parts of the form state.

0 commit comments

Comments
 (0)