feat(GoodsActionButton): add color prop (#4255)
This commit is contained in:
@@ -97,7 +97,7 @@ Vue.use(Button);
|
||||
| type | Can be set to `primary` `info` `warning` `danger` | `string` | `default` |
|
||||
| size | Can be set to `large` `small` `mini` | `string` | `normal` |
|
||||
| text | Text | `string` | - |
|
||||
| color | Color | `string` | - |
|
||||
| color | Color, support linear-gradient | `string` | - |
|
||||
| icon | Left Icon | `string` | - |
|
||||
| tag | HTML Tag | `string` | `button` |
|
||||
| native-type | Native Type Attribute | `string` | `''` |
|
||||
|
||||
@@ -117,7 +117,7 @@ Vue.use(Button);
|
||||
| type | 类型,可选值为 `primary` `info` `warning` `danger` | `string` | `default` | 1.6.6 |
|
||||
| size | 尺寸,可选值为 `large` `small` `mini` | `string` | `normal` | - |
|
||||
| text | 按钮文字 | `string` | - | - |
|
||||
| color | 按钮颜色 | `string` | - | 2.1.3 |
|
||||
| color | 按钮颜色,支持传入`linear-gradient`渐变色 | `string` | - | 2.1.3 |
|
||||
| icon | 左侧图标名称或图片链接,可选值见 Icon 组件 | `string` | - | 2.0.0 |
|
||||
| tag | HTML 标签 | `string` | `button` | - |
|
||||
| native-type | 原生 button 标签 type 属性 | `string` | - | - |
|
||||
|
||||
Reference in New Issue
Block a user