Tabs
Import
import { Tabs } from '@resultadosdigitais/tangram-components'
Properties
children 📍
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.