Button
Button component allows user to perform an action or event, such as submitting a form, opening a Dialog, canceling an action, or performing a delete operation
Import
import { Button } from "io-elements"
Usage
Props
| NAME | TYPE | REQUIRED | DEFAULT |
|---|---|---|---|
| title | String | false | ` ` |
| titleStyle | TextStyle | object | false | {} |
| buttonStyle | ViewStyle | object | false | {} |
| buttonColor | string | false | #2089dc |
| radius | number | false | 0 |
| btnType | solid or outlined | string | false | solid |
| disabledStyle | ViewStyle | object | false | {} |
| isDisabled | boolean | false | false |
| isLoading | boolean | false | false |
| iconRight | boolean | false | false |
| Icon | ReactElement | Icon Element | false | |
| iconPosition | left, right, top, bottom | string | false | right |