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

    0.27.1 • Public • Published

    @comparaonline/ui-table

    A basic table

    Installation

    yarn add @comparaonline/ui-table
    

    Usage

    import {
      Table,
      TableBody,
      TableHead,
      TableRow,
      TableHeaderCell,
      TableDataCell
    } from '@comparaonline/ui-table';
    <Table>
      <TableBody>
        <TableRow>
          <TableDataCell>TableRow must be a child of a TableBody</TableDataCell>
        </TableRow>
      </TableBody>
    </Table>

    Table

    Renders a table tag.

    prop required type default description
    borderless false bool true If true, the table will have an outer line

    TableRow

    Renders a tr tag

    TableDataCell

    Renders a td tag

    prop required type default description
    align false string inherit The text alignment of the cell
    width false string auto The width of the cell

    TableHeaderCell

    Renders a th tag

    prop required type default description
    align false string inherit The text alignment of the cell
    width false string auto The width of the cell

    Keywords

    none

    Install

    npm i @comparaonline/ui-table

    DownloadsWeekly Downloads

    72

    Version

    0.27.1

    License

    MIT

    Unpacked Size

    14.8 kB

    Total Files

    11

    Last publish

    Collaborators

    • fverag
    • gnza
    • suarezcumare
    • comparaonline-dev
    • comparaonlineprivate
    • matotias
    • javierlara1989
    • smurua
    • cnovoab
    • eseceve
    • mchauca
    • pablocompara