Skip to content

Commit

Permalink
Create fieldApi.md
Browse files Browse the repository at this point in the history
  • Loading branch information
tannerlinsley committed May 3, 2023
1 parent 62a82fe commit 276dcd4
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions docs/framework/react/reference/fieldApi.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
id: fieldApi
title: Field API
---

### `FieldApi<TData, TFormData>`

When using `@tanstack/react-form`, the [core field API](../../reference/fieldApi) is extended with additional methods for React-specific functionality:

- ```tsx
Field: FieldComponent<TData, TFormData>
```
- A pre-bound and type-safe sub-field component using this field as a root.

0 comments on commit 276dcd4

Please sign in to comment.