Table
Importβ
import { Table } from '@resultadosdigitais/tangram-components'
Propertiesβ
summary
ποΈβ
Concerns | ποΈ Deprecated: - `Table` from now on will use the the property `caption` to provide context. |
---|---|
Type | string |
Descriptionβ
Add a context for table, it's a property for accessibility.
caption
πβ
Concerns | π Required |
---|---|
Type | string |
Descriptionβ
Add a context for table, it's a property for accessibility.
children
β
striped
β
<TableBody />β
Importβ
import { TableBody } from '@resultadosdigitais/tangram-components'
Propertiesβ
children
β
<TableCell />β
Importβ
import { TableCell } from '@resultadosdigitais/tangram-components'
Propertiesβ
as
β
Type | Enum of: |
---|---|
Default | TableCell.as.td |
Descriptionβ
Sets the element type to be rendered for this component. By default it will be render a td
element.
children
β
alignment
β
sortDirection
β
sort
β
kind
β
Type | Enum of: |
---|---|
Default | TableCell.kinds.none |
Descriptionβ
Sets the kind of cell, useful to adjust style for checkbox cell.
<TableFooter />β
Importβ
import { TableFooter } from '@resultadosdigitais/tangram-components'
Propertiesβ
children
β
<TableHead />β
Importβ
import { TableHead } from '@resultadosdigitais/tangram-components'
Propertiesβ
children
β
fixed
β
<TableRow />β
Importβ
import { TableRow } from '@resultadosdigitais/tangram-components'
Propertiesβ
children
β
active
β
<TableSortLabel />β
Importβ
import { TableSortLabel } from '@resultadosdigitais/tangram-components'
Propertiesβ
active
β
children
β
sortDirection
β
reverse
β
Type | bool |
---|---|
Default | false |
Descriptionβ
Changes the icon position. If is true, the icon will render first.
onClick
β
Type | func |
---|---|
Default | () => {} |
Param | event React.SyntheticEvent - The event source of the callback. |
Descriptionβ
Callback fired when is clicked.