3.1.0 • Published 3 years ago

@primitives/table v3.1.0

Weekly downloads
10
License
MIT
Repository
github
Last release
3 years ago

This is A WEB COMPONENT, in the next version we will add native variation.

Table, TableBody, TableBodyCell, TableHead, TableHeadCell, TableRow are use in order to render web tables.

These map to the same corresponding props in Web.

Raw type definitions

Table:

export type TTable = {
  id?: string,
  children?: ReactNode,
  backgroundColor?: string,
  borderColor?: string,
  borderTopWidth?: number,
  borderBottomWidth?: number,
  borderLeftWidth?: number,
  borderRightWidth?: number,
  borderStyle?: string,
}

TableBody:

export type TTableBody = {
  id?: string,
  children?: ReactNode,
}

TableBodyCell:

export type TTableBodyCell = {
  id?: string,
  children?: ReactNode,
  backgroundColor?: string,
  borderColor?: string,
  borderTopWidth?: number,
  borderBottomWidth?: number,
  borderLeftWidth?: number,
  borderRightWidth?: number,
  borderStyle?: string,
}

TableHead:

export type TTableHead = {
  id?: string,
  children?: ReactNode,
}

TableHeadCell:

export type TTableHeadCell = {
  id?: string,
  children?: ReactNode,
  backgroundColor?: string,
  borderColor?: string,
  borderTopWidth?: number,
  borderBottomWidth?: number,
  borderLeftWidth?: number,
  borderRightWidth?: number,
  borderStyle?: string,
}

TableRow:

export type TTableRow = {
  id?: string,
  children?: ReactNode,
}
3.1.0

3 years ago

3.0.1

3 years ago

3.0.0

4 years ago

2.0.3

4 years ago

2.0.2

4 years ago

2.0.1

4 years ago

2.0.0

4 years ago

1.0.0

4 years ago

0.6.0

4 years ago

0.5.1

5 years ago

0.5.0

5 years ago

0.4.0

5 years ago

0.3.1

5 years ago

0.3.0

5 years ago

0.2.0

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago