Open History to see the last commit
1---
2id: FieldGroupDefinition
3title: FieldGroupDefinition
4---
5β
6Defined in: [packages/preact-form/src/FieldGroup/withFields.public.ts:71](https://github.com/TanStack/form/blob/main/packages/preact-form/src/FieldGroup/withFields.public.ts#L71)
7β
8## Type Parameters
9β
10### TFields
11β
12`TFields` *extends* `FieldGroupFields`
13β
14### TFieldComponents
15β
16`TFieldComponents` *extends* `Record`\<`string`, `FunctionComponent`\<`any`\>\>
17β
18## Properties
19β
20### bindComponent
21β
22```ts
23bindComponent: FieldGroupWithFieldsFn<PreactFieldGroup<TFields, TFieldComponents>>;
24```
25β
26Defined in: [packages/preact-form/src/FieldGroup/withFields.public.ts:78](https://github.com/TanStack/form/blob/main/packages/preact-form/src/FieldGroup/withFields.public.ts#L78)
27β
28Binds a component's virtual field API to concrete paths in a form.
29β
30***
31β
32### fields
33β
34```ts
35fields: PreactFieldGroup<TFields, TFieldComponents>;
36```
37β
38Defined in: [packages/preact-form/src/FieldGroup/withFields.public.ts:76](https://github.com/TanStack/form/blob/main/packages/preact-form/src/FieldGroup/withFields.public.ts#L76)
39β
40The virtual field-group API injected into the bound component.