0.3.2 • Published 4 years ago
@emanon/ema-button v0.3.2
ema-button
Overall
<ema-button>
is ema version of <button>
component.
Properties
Property | Attribute | Type | Default | Description |
---|---|---|---|---|
color | color | "primary" \| "dark" \| "danger" | "primary" | Button's color. |
disabled | disabled | boolean | false | Disabled if true value is passed. |
label | label | string | "" | Used as a button label. |
size | size | "large" \| "medium" \| "small" | "large" | Button size. |
type | type | "normal" \| "ghost" | "normal" | Button's design type. |
Events
Event | Type |
---|---|
click | MouseEvent |
CSS Custom Properties
Property | Default | Description |
---|---|---|
--ema-c-button-bgColor | "liner-gradient(90deg, #80a6ea, #5289ea)" | Background color. |
--ema-c-button-bgColor-hover | "liner-gradient(90deg, #526280, #5289ea)" | Background color when you mouse over it. |
--ema-c-button-labelColor | "#5289ea" | Label color. |
--ema-c-button-labelColor-hover | "#fff" | Label color when you mouse over it. |
0.3.2
4 years ago
0.3.1
5 years ago
0.3.0
5 years ago
0.2.0
5 years ago
0.1.1
5 years ago
0.1.0
5 years ago
0.0.24
5 years ago
0.0.22
6 years ago
0.0.20
6 years ago
0.0.19
6 years ago
0.0.18
6 years ago
0.0.17
6 years ago
0.0.16
6 years ago
0.0.15
6 years ago
0.0.14
6 years ago
0.0.13
6 years ago
0.0.12
6 years ago
0.0.10
7 years ago
0.0.9
7 years ago
0.0.8
7 years ago
0.0.7
7 years ago
0.0.6
7 years ago
0.0.5
7 years ago
0.0.3
7 years ago
0.0.2
7 years ago
0.0.4
7 years ago