feat(GoodsActionButton): add icon prop
This commit is contained in:
@@ -104,6 +104,7 @@ Use `info` prop to show badge in icon
|
||||
| text | Button text | *string* | - |
|
||||
| type | Button type, Can be set to `primary` `info` `warning` `danger` | *string* | `default` |
|
||||
| color `v2.1.8` | Button color, support linear-gradient | *string* | - |
|
||||
| icon `2.4.4` | Left Icon | *string* | - |
|
||||
| primary | Is primary button (red color) | *boolean* | `false` |
|
||||
| disabled | Whether to disable button | *boolean* | `false` |
|
||||
| loading | Whether show loading status | *boolean* | `false` |
|
||||
|
||||
@@ -108,6 +108,7 @@ export default {
|
||||
| text | 按钮文字 | *string* | - |
|
||||
| type | 按钮类型,可选值为 `primary` `info` `warning` `danger` | *string* | `default` |
|
||||
| color `v2.1.8` | 按钮颜色,支持传入`linear-gradient`渐变色 | *string* | - |
|
||||
| icon `2.4.4` | 左侧图标名称或图片链接,可选值见 [Icon 组件](#/zh-CN/icon) | *string* | - |
|
||||
| disabled | 是否禁用按钮 | *boolean* | `false` | - |
|
||||
| loading | 是否显示为加载状态 | *boolean* | `false` | - |
|
||||
| url | 点击后跳转的链接地址 | *string* | - |
|
||||
|
||||
Reference in New Issue
Block a user