@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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.27.1
    0
    • latest

Version History

Package Sidebar

Install

npm i @comparaonline/ui-table

Weekly Downloads

1

Version

0.27.1

License

MIT

Unpacked Size

14.8 kB

Total Files

11

Last publish

Collaborators

  • gnavarro
  • dsuarez_compa
  • pfariaz
  • ricardo.sosa
  • suarezcumare
  • fverag
  • comparaonline-dev
  • comparaonlineprivate
  • matotias
  • javierlara1989
  • smurua
  • eseceve
  • pablocompara