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β
To report a problem or suggest changes, use our improvements form or, if you prefer, open an issue on our Github repository.