1.0.0-alpha.0 • Published 3 years ago
@lagabu/btn v1.0.0-alpha.0
<btn>
btn is a simple component to provide feedback when trigger events.
Props
Name | Type | Default | Description |
---|---|---|---|
tag | String | button | element tag |
outliend | Boolean | - | outlined style |
flat | Boolean | - | flat style |
tile | Boolean | - | square style |
link | Boolean | - | link style |
small | Boolean | - | small style |
large | Boolean | - | large style |
block | Boolean | - | display block and width 100% |
round | Boolean | - | round style |
disabled | Boolean | - | disabled to click |
icon | Boolean | - | limit width and height to be equal |
loading | [Boolean, String] | - | loading type button and disabled to click |
color | String | primary | change current color class or style |
elevation | String | - | change current shadow class or style |
toggleable | Boolean | - | set this element whether to be toggleable |
active | Boolean | - | control inside active ref from outside |
activeClass | String | btn--active | active class name |
1.0.0-alpha.1
3 years ago
1.0.0-alpha.0
3 years ago