1.0.0-alpha.0 • Published 3 years ago

@lagabu/btn v1.0.0-alpha.0

Weekly downloads
66
License
-
Repository
-
Last release
3 years ago

<btn>

btn is a simple component to provide feedback when trigger events.

Props

NameTypeDefaultDescription
tagStringbuttonelement tag
outliendBoolean-outlined style
flatBoolean-flat style
tileBoolean-square style
linkBoolean-link style
smallBoolean-small style
largeBoolean-large style
blockBoolean-display block and width 100%
roundBoolean-round style
disabledBoolean-disabled to click
iconBoolean-limit width and height to be equal
loading[Boolean, String]-loading type button and disabled to click
colorStringprimarychange current color class or style
elevationString-change current shadow class or style
toggleableBoolean-set this element whether to be toggleable
activeBoolean-control inside active ref from outside
activeClassStringbtn--activeactive class name