0.27.1 • Published 5 years ago

@comparaonline/ui-table v0.27.1

Weekly downloads
8
License
MIT
Repository
-
Last release
5 years ago

@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.

proprequiredtypedefaultdescription
borderlessfalsebooltrueIf true, the table will have an outer line

TableRow

Renders a tr tag

TableDataCell

Renders a td tag

proprequiredtypedefaultdescription
alignfalsestringinheritThe text alignment of the cell
widthfalsestringautoThe width of the cell

TableHeaderCell

Renders a th tag

proprequiredtypedefaultdescription
alignfalsestringinheritThe text alignment of the cell
widthfalsestringautoThe width of the cell
0.27.1

5 years ago

0.23.1

6 years ago

0.21.2

6 years ago

0.21.1

6 years ago

0.20.1

6 years ago

0.19.1

6 years ago

0.19.0

6 years ago

0.18.0

6 years ago

0.17.4

6 years ago

0.17.3

6 years ago

0.17.2

6 years ago

0.17.0

6 years ago

0.16.1

6 years ago

0.16.0

6 years ago

0.14.1

6 years ago

0.14.0

6 years ago

0.13.0

6 years ago

0.13.0-5

6 years ago

0.13.0-4

6 years ago

0.13.0-3

6 years ago

0.11.1

6 years ago

0.10.0

6 years ago

0.10.0-0

6 years ago