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.
id 📍
label
icon
selected
size
onClick
disabled
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.