feat(GoodsActionButton): add icon prop
This commit is contained in:
@@ -12,6 +12,7 @@ export default createComponent({
|
||||
...routeProps,
|
||||
type: String,
|
||||
text: String,
|
||||
icon: String,
|
||||
color: String,
|
||||
loading: Boolean,
|
||||
disabled: Boolean,
|
||||
@@ -49,6 +50,7 @@ export default createComponent({
|
||||
square
|
||||
size="large"
|
||||
type={this.type}
|
||||
icon={this.icon}
|
||||
color={this.color}
|
||||
loading={this.loading}
|
||||
disabled={this.disabled}
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
height: @goods-action-button-height;
|
||||
font-weight: @font-weight-bold;
|
||||
font-size: @font-size-md;
|
||||
line-height: normal;
|
||||
line-height: @goods-action-button-height;
|
||||
border: none;
|
||||
|
||||
&--first {
|
||||
|
||||
Reference in New Issue
Block a user