---
title: TableHeader
source: https://docs.newrelic.com/docs/new-relic-solutions/build-nr-ui/sdk-component/tables/TableHeader
---

Wrapper for cells composing the header. Header always need to be present and be the first immediate child of the `<Table>` element.

### Usage

```js
import { TableHeader } from 'nr1'
```

### Props

| `children` REQUIRED node | List of column headers, in the shape of `<TableHeaderCell>`s. Cells need to be direct children of the header, i.e. there must not be any node between `<TableHeader>` and `<TableHeaderCell>`s. |
| ------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
