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 ou sugerir alterações, use nosso formulário de melhorias ou, se preferir, abra uma issue no nosso Github.