0.10.7 • Published 2 years ago
@govuk-react-bjss-pttg/table v0.10.7
Table
Import
  import Table from '@govuk-react-bjss-pttg/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/
Properties
| 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 | 
0.10.7
2 years ago