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

NAMETYPEREQUIREDDEFAULT
titleStringfalse` `
titleStyleTextStyle | objectfalse{}
buttonStyleViewStyle | objectfalse{}
buttonColorstringfalse#2089dc
radiusnumberfalse0
btnTypesolid or outlined | string falsesolid
disabledStyleViewStyle | objectfalse{}
isDisabledbooleanfalsefalse
isLoadingbooleanfalsefalse
iconRightbooleanfalsefalse
IconReactElement | Icon Elementfalse
iconPositionleft, right, top, bottom | stringfalseright