@govuk-react/table
TypeScript icon, indicating that this package has built-in type declarations

0.10.6 • Public • Published

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

Dependencies (3)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i @govuk-react/table

    Weekly Downloads

    3,222

    Version

    0.10.6

    License

    MIT

    Unpacked Size

    32 kB

    Total Files

    29

    Last publish

    Collaborators

    • loque-
    • steve_sims
    • petelockey
    • penx
    • marksy