Button
Import
import { Button } from '@resultadosdigitais/tangram-components'
Properties
as
| Type | elementType | string |
|---|
Description
Set element type to be rendered for this component. By default it will be render a <button> element.
children
type
kind
size
startIcon
| Type | node |
|---|
Description
Sets icon to be displayed at the beginning of the line.
Ignored when ia is true — the IA icon is always used.
endIcon
loading
| Type | bool |
|---|---|
| Default | false |
Description
Sets loading appearance. When loading is true, then disabled is true.
ia
| Type | bool |
|---|---|
| Default | false |
Description
Applies IA styles for "primary" and "secondary" kinds. Adds an IA icon (as startIcon) by default.
fluid
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.