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.