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

    0.10.0 • 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

    Keywords

    none

    Install

    npm i @govuk-react/table

    DownloadsWeekly Downloads

    3,116

    Version

    0.10.0

    License

    MIT

    Unpacked Size

    56.1 kB

    Total Files

    31

    Last publish

    Collaborators

    • loque-
    • steve_sims
    • petelockey
    • penx
    • marksy