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
onClick
| Type | func |
|---|---|
| Default | () => {} |
| Param | event React.SyntheticEvent - The event source of the callback. |
Description
Callback fired when is clicked.
Feedback
Para reportar algum problema, solicitar novos ícones, solicitar novos casos de uso de componentes, tirar dúvidas, enviar sugestões ou reportar bugs, entre em contato pelo nosso canal no Slack #tangram-design-system.