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.