A styled table supporting a 'construction kit' approach and rendering children as constituent parts.
Table
=====
js
import Table from '@govuk-react/table';
`
Use the table component to make information easier to compare and scan for users.
- https://govuk-react.github.io/govuk-react/?path=/docs/table
- https://design-system.service.gov.uk/components/table/
$3
Prop | Required | Default | Type | Description
:--- | :------- | :------ | :--- | :----------
body | | `undefined` | ReactNode | Table body rows and cells (for backward compatibility)
caption | | `undefined` | string | Table caption title
children | | `undefined` | ReactNode | Table body rows and cells (recommended way)
head | | `undefined`` | ReactNode | Table header rows and cells