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, request new icons, request new component use cases, ask questions, share suggestions, or report bugs, get in touch through our Slack channel #tangram-design-system.