--- id: AppHeaderComponent title: AppHeaderComponent --- Defined in: [src/createTableHook.tsx:497](https://github.com/TanStack/table/blob/main/packages/react-table/src/createTableHook.tsx#L497) Component type for AppHeader/AppFooter - wraps a header and provides header context with optional Subscribe ## Type Parameters ### TFeatures `TFeatures` *extends* `TableFeatures` ### TData `TData` *extends* `RowData` ### THeaderComponents `THeaderComponents` *extends* `Record`\<`string`, `ComponentType`\<`any`\>\> ## Call Signature ```ts AppHeaderComponent(props): ReactNode; ``` Defined in: [src/createTableHook.tsx:502](https://github.com/TanStack/table/blob/main/packages/react-table/src/createTableHook.tsx#L502) Component type for AppHeader/AppFooter - wraps a header and provides header context with optional Subscribe ### Type Parameters #### TValue `TValue` *extends* `unknown` = `unknown` ### Parameters #### props [`AppHeaderPropsWithoutSelector`](AppHeaderPropsWithoutSelector.md)\<`TFeatures`, `TData`, `TValue`, `THeaderComponents`\> ### Returns `ReactNode` ## Call Signature ```ts AppHeaderComponent(props): ReactNode; ``` Defined in: [src/createTableHook.tsx:510](https://github.com/TanStack/table/blob/main/packages/react-table/src/createTableHook.tsx#L510) Component type for AppHeader/AppFooter - wraps a header and provides header context with optional Subscribe ### Type Parameters #### TValue `TValue` *extends* `unknown` = `unknown` #### TSelected `TSelected` = `unknown` ### Parameters #### props [`AppHeaderPropsWithSelector`](AppHeaderPropsWithSelector.md)\<`TFeatures`, `TData`, `TValue`, `THeaderComponents`, `TSelected`\> ### Returns `ReactNode`