Tabs
Importβ
import { Tabs } from '@resultadosdigitais/tangram-components'
Propertiesβ
children πβ
| Concerns | π Required |
|---|---|
| Type | arrayOf(node) |
Descriptionβ
Sets the children. Two or more <Tab /> components.
asβ
| Type | node | string |
|---|---|
| Default | 'div' |
Descriptionβ
Set element type to be rendered for this component. By default it will render a div element.
sizeβ
centralizedβ
onChangeβ
onClickβ
| Type | func |
|---|---|
| Param | event React.SyntheticEvent - The event source of the callback. |
Descriptionβ
Callback fired when the Tabs is clicked.
<Tab />β
Importβ
import { Tab } from '@resultadosdigitais/tangram-components'
Propertiesβ
asβ
| Type | node | string |
|---|---|
| Default | 'li' |
Descriptionβ
Set element type to be rendered for this component. By default it will render a li element.