@govuk-react/table

A styled table supporting a 'construction kit' approach and rendering children as constituent parts.

Stats

StarsIssuesVersionUpdatedCreatedSize
@govuk-react/table
0.10.011 days ago3 years agoMinified + gzip package size for @govuk-react/table in KB

Readme

Table

Import

  import Table from '@govuk-react/table';

Use the table component to make information easier to compare and scan for users.

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

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.